Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

CGI::Session::Driver::db_file

Name CGI::Session::Driver::db_file
Version 4.43
Located at /usr/local/share/perl5
File /usr/local/share/perl5/CGI/Session/Driver/db_file.pm
Is Core No
Search CPAN for this module CGI::Session::Driver::db_file
Documentation CGI::Session::Driver::db_file
Module Details CGI::Session::Driver::db_file


NAME

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


SYNOPSIS

    $s = CGI::Session->new("driver:db_file", $sid);
    $s = CGI::Session->new("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 the directory hierarchy leading to the file does not exist, will be created for you.

This module takes a UMask option which will be used if DB_File has to create the database file for you. By default the umask is 0660.


LICENSING

For support and licensing information see CGI::Session

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024