1Session::Oracle(3) User Contributed Perl Documentation 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 Ora‐
29 cle backing store and no locking. See the example, and the documenta‐
30 tion 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 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::Oracle(3)