NAME
CGI::Session::File - Default CGI::Session driver
REVISION
This manual refers to $Revision: 3.1.4.1 $
SYNOPSIS
use CGI::Session;
$session = new CGI::Session("driver:File", undef, {Directory=>'/tmp'});
For more examples, consult CGI::Session manual
DESCRIPTION
CGI::Session::File is a default CGI::Session driver. Stores the session data in plain files. For the list of available methods, consult CGI::Session manual.
Each session is stored in a seperate file. File name is by default formatted as "cgisess_%s", where '%s' is replaced with the effective session id. To change file name formatting, update $CGI::Session::File::NAME variable. Examples:
$CGI::Session::File::FileName = 'cgisess_%s.dat'; # with .dat extention
$CGI::Session::File::FileName = '%s.session';
$CGI::Session::File::FileName = '%CGI-Session-%s.dat'; # old style
The only driver option required is 'Directory', which denotes the location session files are stored in.
Example:
$session = new CGI::Session("driver:File", undef, {Directory=>'some/directory'});
COPYRIGHT
Copyright (C) 2001-2002 Sherzod Ruzmetov. All rights reserved.
This library is free software and can be modified and distributed under the same terms as Perl itself.
Bug reports should be directed to sherzodr@cpan.org, or posted to Cgi-session@ultracgis.com mailing list.
AUTHOR
CGI::Session::File is written and maintained by Sherzod Ruzmetov <sherzodr@cpan.org>
SEE ALSO
CGI::Session - CGI::Session manual
CGI::Session::Tutorial - extended CGI::Session manual
CGI::Session::CookBook - practical solutions for real life problems
RFC 2965 - "HTTP State Management Mechanism" found at ftp://ftp.isi.edu/in-notes/rfc2965.txt
CGI - standard CGI library
Apache::Session - another fine alternative to CGI::Session