1CGI::Session::Driver::sUqsleirteC(o3n)tributed Perl DocuCmGeIn:t:aSteisosnion::Driver::sqlite(3)
2
3
4

NAME

6       CGI::Session::Driver::sqlite - CGI::Session driver for SQLite
7

SYNOPSIS

9           $s = new CGI::Session("driver:sqlite", $sid, {DataSource=>'/my/folder/sessions.sqlt'});
10           $s = new CGI::Session("driver:sqlite", $sid, {Handle=>$dbh});
11

DESCRIPTION

13       sqlite driver stores session data in SQLite files using DBD::SQLite DBI
14       driver. More details see CGI::Session::Driver::DBI, its parent class.
15

DRIVER ARGUMENTS

17       Supported driver arguments are DataSource and Handle. At most only one
18       of these arguments can be set while creating session object.
19
20       DataSource should be in the form of
21       "dbi:SQLite:dbname=/path/to/db.sqlt". If "dbi:SQLite:" is missing it
22       will be prepended for you. If Handle is present it should be database
23       handle ($dbh) returned by DBI::connect().
24
25       As of version 1.7 of this driver, the third argument is NOT optional.
26       Using a default database in the temporary directory is a security risk
27       since anyone on the machine can create and/or read your session data.
28       If you understand these risks and still want the old behavior, you can
29       set the "DataSource" option to '/tmp/sessions.sqlt'.
30

BUGS AND LIMITATIONS

32       None known.
33

LICENSING

35       For support and licensing see CGI::Session
36
37
38
39perl v5.8.8                       2006-11-24   CGI::Session::Driver::sqlite(3)
Impressum