1Session::Store::InformiUxs(e3r)Contributed Perl DocumentSaetsisoinon::Store::Informix(3)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

SCHEMA

24       To use this module, you will need at least these columns in a table
25       called 'sessions':
26
27        id char(32)     # or however long your session IDs are.
28        a_session lvarchar
29
30       To create this schema, you can execute this command using the sqlplus
31       program:
32
33        CREATE TABLE sessions (
34           id char(32) not null primary key,
35           a_session lvarchar
36        );
37
38       If you use some other command, ensure that there is a unique index on
39       the table's id column.
40

CONFIGURATION

42       The module must know what datasource, username, and password to use
43       when connecting to the database.  These values can be set using the
44       options hash (see Apache::Session documentation).  The options are
45       DataSource, UserName, and Password.
46
47       Example:
48
49        tie %hash, 'Apache::Session::Informix', $id, {
50            DataSource => 'dbi:Informix:database',
51            UserName   => 'database_user',
52            Password   => 'K00l'
53        };
54
55       Instead, you may pass in an already-opened DBI handle to your database.
56
57        tie %hash, 'Apache::Session::Informix', $id, {
58            Handle => $dbh
59        };
60
61       The last option is LongReadLen, which specifies the maximum size of the
62       session object.  If not supplied, the default maximum size is 8 KB.
63

AUTHOR

65       This module was written by Mike Langen <mike.langen@tamedia.ch>, based
66       on the original for Oracle.
67

SEE ALSO

69       Apache::Session, Apache::Session::Store::DBI
70
71
72
73perl v5.8.8                       2004-02-24       Session::Store::Informix(3)
Impressum