1 package CGI::Session::Serialize::Storable;
3 # $Id: Storable.pm,v 1.1.1.1 2003/08/02 23:39:35 takezoe Exp $
8 ($VERSION) = '$Revision: 1.1.1.1 $' =~ m/Revision:\s*(\S+)/;
12 my ($self, $data) = @_;
14 return Storable::freeze($data);
19 my ($self, $string) = @_;
21 return Storable::thaw($string);
24 # $Id: Storable.pm,v 1.1.1.1 2003/08/02 23:39:35 takezoe Exp $
32 CGI::Session::Serialize::Storable - serializer for CGI::Session
36 This library is used by CGI::Session driver to serialize session data before storing
37 it in disk. Uses Storable
45 receives two arguments. First is the CGI::Session driver object, the second is the data to be
46 stored passed as a reference to a hash. Should return true to indicate success, undef otherwise,
47 passing the error message with as much details as possible to $self->error()
51 receives two arguments. First being CGI::Session driver object, the second is the string
52 to be deserialized. Should return deserialized data structure to indicate successs. undef otherwise,
53 passing the error message with as much details as possible to $self->error().
59 Copyright (C) 2002 Sherzod Ruzmetov. All rights reserved.
61 This library is free software. It can be distributed under the same terms as Perl itself.
65 Sherzod Ruzmetov <sherzodr@cpan.org>
67 All bug reports should be directed to Sherzod Ruzmetov <sherzodr@cpan.org>.
75 L<CGI::Session|CGI::Session> - CGI::Session manual
79 L<CGI::Session::Tutorial|CGI::Session::Tutorial> - extended CGI::Session manual
83 L<CGI::Session::CookBook|CGI::Session::CookBook> - practical solutions for real life problems
87 B<RFC 2965> - "HTTP State Management Mechanism" found at ftp://ftp.isi.edu/in-notes/rfc2965.txt
91 L<CGI|CGI> - standard CGI library
95 L<Apache::Session|Apache::Session> - another fine alternative to CGI::Session
101 # $Id: Storable.pm,v 1.1.1.1 2003/08/02 23:39:35 takezoe Exp $