Sherzod Ruzmetov > CGI-Session-4.03 > CGI::Session::Driver::db_file

Download:
CGI-Session-4.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  4
View Bugs
Report a bug
Module Version: 1.2   Source   Latest Release: CGI-Session-4.42

NAME ^

CGI::Session::Driver::db_file - CGI::Session driver for BerkeleyDB using DB_File

SYNOPSIS ^

    $s = new CGI::Session("driver:db_file", $sid);
    $s = new CGI::Session("driver:db_file", $sid, {FileName=>'/tmp/cgisessions.db'});

DESCRIPTION ^

db_file stores session data in BerkelyDB file using DB_File - Perl module. All sessions will be stored in a single file, specified in FileName driver argument as in the above example. If FileName isn't given, defaults to /tmp/cgisess.db, or its equivalent on a non-UNIX system.

If directory hierarchy leading to the file does not exist, will be created for you.

LICENSING ^

For support and licensing information see CGI::Session