NAME
CGI::Session::Serialize::DataDumper - serializer for CGI::Session using Data::Dumper
DESCRIPTION
This library is used by CGI::Session driver to serialize session data before storing it in disk.
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) 2002 Sherzod Ruzmetov. All rights reserved.
This library is free software. It can be distributed under the same terms as Perl itself.
AUTHOR
Sherzod Ruzmetov <sherzodr@cpan.org>
All bug reports should be directed to Sherzod Ruzmetov <sherzodr@cpan.org>.
MAINTAINER
Jonathan Buhacoff <jonathan@buhacoff.net>
Sherzod wrote the module, I just wanted to be able to call it DataDumper so that when I glance at code I don't have to remember that "Default" (CGI::Session::Serialize::Default) uses Data::Dumper.
If you encounter a bug, try using "Default" instead of "DataDumper". If the bug goes away, then it's mine, and you should send the report to me. If it persists, it's Sherzod's, and you should send the report to him. You can CC me if you want me to help as well, because I'm a big fan of Sherzod's CGI::Session and I use it all the time, so I'm very interested in bugfixes etc.
SEE ALSO
CGI::Session - CGI::Session manual
CGI::Session::Tutorial - extended CGI::Session manual
CGI::Session::CookBook - practical solutions for real life problems
RFC 2965 - "HTTP State Management Mechanism" found at ftp://ftp.isi.edu/in-notes/rfc2965.txt
CGI - standard CGI library
Apache::Session - another fine alternative to CGI::Session