Difference: CGISessionDriverDb_fileDotPm (1 vs. 2)

Revision 22013-02-16 - TWikiContributor

Line: 7 to 7
  =head1 SYNOPSIS
Changed:
<
<
$s = new CGI::Session("driver:db_file", $sid); $s = new CGI::Session("driver:db_file", $sid, {FileName=>'/tmp/cgisessions.db'});
>
>
$s = CGI::Session->new("driver:db_file", $sid); $s = CGI::Session->new("driver:db_file", $sid, {FileName=>'/tmp/cgisessions.db'});
  =head1 DESCRIPTION

Revision 12008-01-22 - TWikiContributor

Line: 1 to 1
Added:
>
>

Package ==

=head1 NAME

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

=head1 SYNOPSIS

$s = new CGI::Session("driver:db_file", $sid); $s = new CGI::Session("driver:db_file", $sid, {FileName=>'/tmp/cgisessions.db'});

=head1 DESCRIPTION

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.

If the directory hierarchy leading to the file does not exist, will be created for you.

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.

=head1 LICENSING

For support and licensing information see L<CGI::Session|CGI::Session>

 
Copyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.CGISessionDriverDb_fileDotPm.