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.