1Apache::Session::OracleU(s3e)r Contributed Perl DocumentaAtpiaocnhe::Session::Oracle(3)
2
3
4
6 Apache::Session::Oracle - An implementation of Apache::Session
7
9 use Apache::Session::Oracle;
10
11 #if you want Apache::Session to open new DB handles:
12
13 tie %hash, 'Apache::Session::Oracle', $id, {
14 DataSource => 'dbi:Oracle: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::Oracle', $id, {
23 Handle => $dbh,
24 Commit => 1
25 };
26
28 This module is an implementation of Apache::Session. It uses the
29 Oracle backing store and no locking. See the example, and the
30 documentation for Apache::Session::Store::Oracle 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
38 database handle caching policy. The argument is mandatory in order to
39 make 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
43 maximum 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.34.0 2022-01-20 Apache::Session::Oracle(3)