buildrelease
[openafs-wiki.git] / TWiki / CGISessionSerializeDefaultDotPm.mdwn
1 # <a name="Package &lt;code&gt;="></a> Package =
2
3 <div>
4   <ul>
5     <li><a href="#Package =="> Package ==</a></li>
6   </ul>
7 </div>
8
9 =head1 NAME
10
11 CGI::Session::Serialize::default - Default CGI::Session serializer
12
13 =head1 DESCRIPTION
14
15 This library is used by CGI::Session driver to serialize session data before storing it in disk.
16
17 All the methods are called as class methods.
18
19 =head1 METHODS
20
21 =over 4
22
23 =item freeze($class, \\%hash)
24
25 Receives two arguments. First is the class name, the second is the data to be serialized. Should return serialized string on success, undef on failure. Error message should be set using C&lt;set\_error()|CGI::Session::ErrorHandler/"set\_error()"&gt;
26
27 =item thaw($class, $string)
28
29 Received two arguments. First is the class name, second is the I data string. Should return thawed data structure on success, undef on failure. Error message should be set using C&lt;set\_error()|CGI::Session::ErrorHandler/"set\_error()"&gt;
30
31 =back
32
33 =head1 LICENSING
34
35 For support and licensing see L&lt;CGI::Session|CGI::Session&gt;