Raphael Manfredi > CGI-MxScreen-0.1.1 > CGI::MxScreen::Session::Medium::Raw_File

Download:
CGI-MxScreen-0.1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: CGI-MxScreen-0.103

NAME ^

CGI::MxScreen::Session::Medium::Raw_File - Fast file session medium

SYNOPSIS ^

 # Not meant to be used directly

DESCRIPTION ^

This class behaves exactly as CGI::MxScreen::Session::Medium::File excepted that it ignores the serializer configuration and hardwires Storable, which allows for efficient storage and retrieval since the Storable routines store() and retrieve() are used directly on files.

This means that there's no compression of the serialized context, but the aim here is performance.

Please refer to CGI::MxScreen::Session::Medium::File for the creation routine interface.

You can configure this session medium in the configuration file as explained in CGI::MxScreen::Config by saying:

    $mx_medium = ["+Raw_File", -directory => "/var/tmp/www-sessions"];

This is the settings I use on my own web server.

AUTHOR ^

Raphael Manfredi <Raphael_Manfredi@pobox.com>

SEE ALSO ^

CGI::MxScreen::Session::Medium::Browser(3), CGI::MxScreen::Session::Medium::File(3).