CGI::Session::Serialize::freezethaw - serializer for CGI::Session
| Use Case | Command | Description |
|---|---|---|
| Serialize session data with FreezeThaw | CGI::Session->new(undef, undef, {Serialize => 'freezethaw'}) |
Initialize a CGI::Session object using FreezeThaw serialization |
| Freeze a hash to string | CGI::Session::Serialize::freezethaw::freeze($class, \%hash) |
Serialize a Perl hash reference into a frozen string |
| Thaw a frozen string back to data | CGI::Session::Serialize::freezethaw::thaw($class, $string) |
Deserialize a frozen string back into a Perl data structure |
This library can be used by CGI::Session to serialize session data. Uses FreezeThaw.
freeze($class, \%hash)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 set_error()|CGI::Session::ErrorHandler/"set_error()"
thaw($class, $string)Received two arguments. First is the class name, second is the frozen data string. Should return thawed data structure on success, undef on failure. Error message should be set using set_error()|CGI::Session::ErrorHandler/"set_error()"
For support and licensing see CGI::Session
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-08 09:34 @216.73.217.10
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format