Matthew J. Studley > Base64-Serializer_0.1 > CGI::Session::Serialize::Base64

Download:
CGI/Base64-Serializer_0.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.1   Source  

NAME ^

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

DESCRIPTION ^

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 ^

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 ^

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

COPYRIGHT ^

Copyright (C) 2004 Matthew Studley. All rights reserved.

This library is free software. It can be distributed under the same terms as Perl itself.

AUTHOR ^

Matthew Studley <mjfs@cpan.org>

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

SEE ALSO ^

syntax highlighting: