1Session::Informix(3) User Contributed Perl Documentation Session::Informix(3)
2
3
4
6 Apache::Session::Informix - An implementation of Apache::Session
7
9 use Apache::Session::Informix;
10
11 #if you want Apache::Session to open new DB handles:
12
13 tie %hash, 'Apache::Session::Informix', $id, {
14 DataSource => 'dbi:Informix:sessions',
15 UserName => $db_user,
16 Password => $db_pass,
17 Commit => 1
18 };
19
20 #or, if your handles are already opened:
21
22 tie %hash, 'Apache::Session::Informix', $id, {
23 Handle => $dbh,
24 Commit => 1
25 };
26
28 This module is an implementation of Apache::Session. It uses the
29 Informix backing store and no locking. See the example, and the docu‐
30 mentation for Apache::Session::Store::Informix for more details.
31
33 The special Apache::Session argument for this module is Commit. You
34 MUST provide the Commit argument, which instructs this module to either
35 commit the transaction when it is finished, or to simply do nothing.
36 This feature is provided so that this module will not have adverse
37 interactions with your local transaction policy, nor your local data‐
38 base handle caching policy. The argument is mandatory in order to make
39 you think about this problem.
40
41 This module also respects the LongReadLen argument, which specifies the
42 maximum size of the session object. If not specified, the default max‐
43 imum is 8 KB.
44
46 This module was written by Jeffrey William Baker <jwbaker@acm.org>.
47
49 Apache::Session::File, Apache::Session::Flex, Apache::Session::DB_File,
50 Apache::Session::Postgres, Apache::Session
51
52
53
54perl v5.8.8 2004-02-24 Session::Informix(3)