1CGI::Session::Driver::dUbs_efrilCeo(n3t)ributed Perl DocCuGmIe:n:tSaetsisoinon::Driver::db_file(3)
2
3
4
6 CGI::Session::Driver::db_file - CGI::Session driver for BerkeleyDB
7 using DB_File
8
10 $s = new CGI::Session("driver:db_file", $sid);
11 $s = new CGI::Session("driver:db_file", $sid, {FileName=>'/tmp/cgisessions.db'});
12
14 db_file stores session data in BerkelyDB file using DB_File - Perl
15 module. All sessions will be stored in a single file, specified in
16 FileName driver argument as in the above example. If FileName isn't
17 given, defaults to /tmp/cgisess.db, or its equivalent on a non-UNIX
18 system.
19
20 If the directory hierarchy leading to the file does not exist, will be
21 created for you.
22
23 This module takes a UMask option which will be used if DB_File has to
24 create the database file for you. By default the umask is 0660.
25
27 For support and licensing information see CGI::Session
28
29
30
31perl v5.16.3 2008-07-16 CGI::Session::Driver::db_file(3)