HTTP::Session2::ClientStore2 - Client store


This is a part of HTTP::Session2 library.

This module stores the data to the cookie value with encryption.

Normally, you should use HTTP::Session2::ServerStore.

ClientStore specific constructor parameters

serializer: CodeRef

Serializer callback function.

Default: MIME::Base64::encode(Storable::nfreeze($_[0]), '' )

deserializer: CodeRef

Deserializer callback function.

Default: Storable::thaw(MIME::Base64::decode($_[0]))

ignore_old: Int

Ignore session data older than ignore_old value. You can specify this value in epoch time.

cipher: Crypt::CBC : Required

Cipher for the session data.


1.03 ~ 1.07 was broken. Do not use these version.