1Apache::Session::BrowseUasbelre:C:oSnttorAripeba:uc:thSeeQd:L:iPSteeers(ls3ipDomon)c:u:mBernotwasteiaobnle::Store::SQLite(3pm)
2
3
4

NAME

6       Apache::Session::Browseable::Store::SQLite - Store persistent data in a
7       SQLite database
8

SYNOPSIS

10        use Apache::Session::Browseable::Store::SQLite;
11
12        my $store = new Apache::Session::Browseable::Store::SQLite;
13
14        $store->insert($ref);
15        $store->update($ref);
16        $store->materialize($ref);
17        $store->remove($ref);
18

DESCRIPTION

20       Apache::Session::Browseable::Store::SQLite fulfills the storage
21       interface of Apache::Session. Session data is stored in a SQLite
22       database.
23

SCHEMA

25       To use this module, you will need at least these columns in a table
26       called 'sessions', or another name if you supply the TableName
27       parameter.
28
29        id char(32)     # or however long your session IDs are.
30        a_session text  # This has an ~8 KB limit :(
31
32       To create this schema, you can execute this command using the sqlite
33       program:
34
35        CREATE TABLE sessions (
36           id char(32) not null primary key,
37           a_session text
38        );
39
40       If you use some other command, ensure that there is a unique index on
41       the table's id column.
42

CONFIGURATION

44       The module must know what datasource, username, and password to use
45       when connecting to the database.  These values can be set using the
46       options hash (see Apache::Session documentation).  The options are:
47
48       DataSource
49       UserName
50       Password
51       Handle
52       TableName
53
54       Example:
55
56        tie %hash, 'Apache::Session::Browseable::SQLite', $id, {
57            DataSource => 'dbi:Pg:dbname=database',
58            UserName   => 'database_user',
59            Password   => 'K00l'
60        };
61
62       Instead, you may pass in an already-opened DBI handle to your database.
63
64        tie %hash, 'Apache::Session::Browseable::SQLite', $id, {
65            Handle => $dbh
66        };
67

AUTHOR

69       This modules was written by Jeffrey William Baker <jwbaker@acm.org>
70
71       A fix for the commit policy was contributed by Michael Schout
72       <mschout@gkg.net>
73

SEE ALSO

75       Apache::Session, Apache::Session::Store::DBI
76
77
78
79perl v5.38.0                   Apa2c0h2e3:-:0S7e-s2s0ion::Browseable::Store::SQLite(3pm)
Impressum