CGI::Session::Serialize::Base64 - serializer for CGI::Session
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.
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()
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().
If you want to be able to store objects, consider using CGI::Session::Serialize::Storable or CGI::Session::Serialize::FreezeThaw instead.
Copyright (C) 2004 Matthew Studley. All rights reserved.
This library is free software. It can be distributed under the same terms as Perl itself.
Matthew Studley <mjfs@cpan.org>
All bug reports should be directed to Matthew Studley <mjfs@cpan.org>.
CGI::Session - CGI::Session manual
Apache::Session - another fine alternative to CGI::Session
To install CGI::Session::Serialize::Base64, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Session::Serialize::Base64
CPAN shell
perl -MCPAN -e shell install CGI::Session::Serialize::Base64
For more information on module installation, please visit the detailed CPAN module installation guide.