CGI::MxScreen::Session::Medium::Raw_File - Fast file session medium
# Not meant to be used directly
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.
CGI::MxScreen::Session::Medium::File
Storable
store()
retrieve()
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.
Raphael Manfredi <Raphael_Manfredi@pobox.com>
CGI::MxScreen::Session::Medium::Browser(3), CGI::MxScreen::Session::Medium::File(3).
To install CGI::MxScreen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::MxScreen
CPAN shell
perl -MCPAN -e shell install CGI::MxScreen
For more information on module installation, please visit the detailed CPAN module installation guide.