attachment upload
[openafs-wiki.git] / TWiki / CGISessionDriverDb_fileDotPm.mdwn
1 # <a name="Package &lt;code&gt;="></a> Package =
2
3 <div>
4   <ul>
5     <li><a href="#Package =="> Package ==</a></li>
6   </ul>
7 </div>
8
9 =head1 NAME
10
11 CGI::Session::Driver::db\_file - CGI::Session driver for [[BerkeleyDB]] using DB\_File
12
13 =head1 SYNOPSIS
14
15 $s = new CGI::Session("driver:db\_file", $sid); $s = new CGI::Session("driver:db\_file", $sid, \{FileName=&gt;'/tmp/cgisessions.db'\});
16
17 =head1 DESCRIPTION
18
19 B stores session data in [[BerkelyDB]] file using L&lt;DB\_File|DB\_File&gt; - Perl module. All sessions will be stored in a single file, specified in I driver argument as in the above example. If I isn't given, defaults to F&lt;/tmp/cgisess.db&gt;, or its equivalent on a non-UNIX system.
20
21 If the directory hierarchy leading to the file does not exist, will be created for you.
22
23 This module takes a B option which will be used if DB\_File has to create the database file for you. By default the umask is 0660.
24
25 =head1 LICENSING
26
27 For support and licensing information see L&lt;CGI::Session|CGI::Session&gt;