CGI::Session::Serialize::Base64 - serializer for CGI::Session


Base64-Serializer documentation  | view source Contained in the Base64-Serializer distribution.

Index


NAME

Top

CGI::Session::Serialize::Base64 - serializer for CGI::Session

DESCRIPTION

Top

This library is used by CGI::Session driver to serialize session data before storing it in disk. It uses base64 encoding to obfuscate the data to deter casual browsers.

METHODS

Top

freeze()

receives two arguments. First is the CGI::Session driver object, the second is the data to be stored passed as a reference to a hash. Should return true to indicate success, undef otherwise, passing the error message with as much details as possible to $self->error()

thaw()

receives two arguments. First being CGI::Session driver object, the second is the string to be deserialized. Should return deserialized data structure to indicate successs. undef otherwise, passing the error message with as much details as possible to $self->error().

WARNING

Top

If you want to be able to store objects, consider using CGI::Session::Serialize::Storable or CGI::Session::Serialize::FreezeThaw instead.

COPYRIGHT

Top

AUTHOR

Top

Matthew Studley <mjfs@cpan.org>

All bug reports should be directed to Matthew Studley <mjfs@cpan.org>.

SEE ALSO

Top


Base64-Serializer documentation  | view source Contained in the Base64-Serializer distribution.