1 # <a name="Package <code>="></a> Package =
5 <li><a href="#Package =="> Package ==</a></li>
11 CGI::Session::Driver::db\_file - CGI::Session driver for [[BerkeleyDB]] using DB\_File
15 $s = new CGI::Session("driver:db\_file", $sid); $s = new CGI::Session("driver:db\_file", $sid, \{FileName=>'/tmp/cgisessions.db'\});
19 B stores session data in [[BerkelyDB]] file using L<DB\_File|DB\_File> - 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</tmp/cgisess.db>, or its equivalent on a non-UNIX system.
21 If the directory hierarchy leading to the file does not exist, will be created for you.
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.
27 For support and licensing information see L<CGI::Session|CGI::Session>