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


CGI-MxScreen documentation  | view source Contained in the CGI-MxScreen distribution.

Index


NAME

Top

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

SYNOPSIS

Top

 # Not meant to be used directly

DESCRIPTION

Top

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

Top

Raphael Manfredi <Raphael_Manfredi@pobox.com>

SEE ALSO

Top

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


CGI-MxScreen documentation  | view source Contained in the CGI-MxScreen distribution.