# Apache::Session::Serialize::Base64 - Use Storable and MIME::Base64 to z... - perldoc - [phpMan]

## NAME
    [Apache::Session::Serialize::Base64](https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3ASerialize%3A%3ABase64/markdown) - Use Storable and [MIME::Base64](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ABase64/markdown) to zip up persistent data

## SYNOPSIS
     use [Apache::Session::Serialize::Base64](https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3ASerialize%3A%3ABase64/markdown);

     $zipped = [Apache::Session::Serialize::Base64::serialize](https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3ASerialize%3A%3ABase64%3A%3Aserialize/markdown)($ref);
     $ref = [Apache::Session::Serialize::Base64::unserialize](https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3ASerialize%3A%3ABase64%3A%3Aunserialize/markdown)($zipped);

## DESCRIPTION
    This module fulfills the serialization interface of [Apache::Session](https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession/markdown). It serializes the data in
    the session object by use of Storable's nfreeze() and thaw() functions, and [MIME::Base64](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ABase64/markdown)'s
    "encode_bas64" and "decode_base64". The serialized data is ASCII text, suitable for storage in
    backing stores that don't handle binary data gracefully, such as Postgres.

## AUTHOR
    This module was written by Jeffrey William Baker <<jwbaker@acm.org>>.

## SEE ALSO
    [Apache::Session::Serialize::Storable](https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3ASerialize%3A%3AStorable/markdown), [Apache::Session](https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession/markdown)

