Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HTTP::Session2::ServerUsereContributed Perl DocuHTTP::Session2::ServerStore(3)

NAME
       HTTP::Session2::ServerStore - Session store

DESCRIPTION
       This module is a	part of	HTTP::Session2 library.	 This module saves the
       session data on server side storage.

CONSTRUCTOR PARAMETERS
       store: Object, optional
	   The storage object. You need	to set 'store' or 'get_store'.

       get_store : CodeRef,  optional
	   Callback function to	get the	storage	object.

	   The storage object must have	following 3 methods.

	   $cache->get($key:Str)
	   $cache->set($key:Str, $value:Serializable)
	   $cache->remove($key:Str)

	   And,	cache object should be serialize/deserialize the data
	   automatically.

	   CHI supports	all things. You	can use	any CHI	drivers.

	   But,	I recommend to use "Cache::Memcached::Fast".

METHODS
       Methods are listed on HTTP::Session2::Base.

perl v5.32.0			  2020-08-08	HTTP::Session2::ServerStore(3)

NAME | DESCRIPTION | CONSTRUCTOR PARAMETERS | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTTP::Session2::ServerStore&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help