CGI::Session::SerializUserrContributedCGI::Session::Serialize::freezethaw(3pm)
CGI::Session::Serialize::freezethaw — serializer for CGI::Session
| Use Case | Command | Description |
|---|---|---|
| 🔧 Configure session serializer | CGI::Session->new('driver:file', $sid, {serializer => 'freezethaw'}) | Use FreezeThaw to serialize session data |
| ❄️ Freeze session data | CGI::Session::Serialize::freezethaw->freeze($class, \%hash) | Serialize a hash reference into a string |
| 🔥 Thaw session data | CGI::Session::Serialize::freezethaw->thaw($class, $string) | Deserialize a frozen string back to a data structure |
This library can be used by CGI::Session to serialize session data. Uses FreezeThaw.
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.
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.
For support and licensing see CGI::Session
perl v5.22.1 2016CGI::Session::Serialize::freezethaw(3pm)
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 10:01 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)