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 mod‐
15 ule. All sessions will be stored in a single file, specified in File‐
16 Name driver argument as in the above example. If FileName isn't given,
17 defaults to /tmp/cgisess.db, or its equivalent on a non-UNIX system.
18
19 If the directory hierarchy leading to the file does not exist, will be
20 created for you.
21
22 This module takes a UMask option which will be used if DB_File has to
23 create the database file for you. By default the umask is 0660.
24
26 For support and licensing information see CGI::Session
27
28
29
30perl v5.8.8 2006-11-24 CGI::Session::Driver::db_file(3)