1Apache::Session::MySQL:U:sNeorLoCcokn(t3r)ibuted Perl DoAcpuamcehnet:a:tSieosnsion::MySQL::NoLock(3)
2
3
4

NAME

6       Apache::Session::MySQL::NoLock - An implementation of
7       Apache::Session::MySQL without locking
8

SYNOPSIS

10        use Apache::Session::MySQL::NoLock;
11
12        #if you want Apache::Session to open new DB handles:
13
14        tie %hash, 'Apache::Session::MySQL::NoLock', $id, {
15           DataSource => 'dbi:mysql:sessions',
16           UserName => $db_user,
17           Password => $db_pass,
18        };
19
20        #or, if your handles are already opened:
21
22        tie %hash, 'Apache::Session::MySQL::NoLock', $id, {
23           Handle => $dbh,
24        };
25
26        To configure the non-locking session store in RT (what I use this module for),
27        put the following into your C<RT_SiteConfig.pm> module:
28
29           Set($WebSessionClass , 'Apache::Session::MySQL::NoLock');
30

DESCRIPTION

32       This module is an implementation of Apache::Session. It uses the MySQL
33       backing store and the Null locking scheme. See the example, and the
34       documentation for Apache::Session::Store::MySQL for more details.
35

WARNING

37       This module explicitly DOES NOT DO ANY LOCKING. This can cause your
38       session data to be overwritten or stale data to be read by subsequent
39       requests.
40
41       This CAN CAUSE LARGE PROBLEMS IN YOUR APPLICATION.
42

AUTHOR

44       This module was written by Tomas Doran <bobtfish@bobtfish.net>.
45

SEE ALSO

47       Apache::Session::MySQL, Apache::Session::Flex, Apache::Session
48
49
50
51perl v5.32.0                      2020-09-19 Apache::Session::MySQL::NoLock(3)
Impressum