1Apache::Session::MySQL(U3s)er Contributed Perl DocumentatAipoanche::Session::MySQL(3)
2
3
4

NAME

6       Apache::Session::MySQL - An implementation of Apache::Session
7

SYNOPSIS

9        use Apache::Session::MySQL;
10
11        #if you want Apache::Session to open new DB handles:
12
13        tie %hash, 'Apache::Session::MySQL', $id, {
14           DataSource => 'dbi:mysql:sessions',
15           UserName   => $db_user,
16           Password   => $db_pass,
17           LockDataSource => 'dbi:mysql:sessions',
18           LockUserName   => $db_user,
19           LockPassword   => $db_pass
20        };
21
22        #or, if your handles are already opened:
23
24        tie %hash, 'Apache::Session::MySQL', $id, {
25           Handle     => $dbh,
26           LockHandle => $dbh
27        };
28

DESCRIPTION

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

AUTHOR

36       This module was written by Jeffrey William Baker <jwbaker@acm.org>.
37

SEE ALSO

39       Apache::Session::File, Apache::Session::Flex, Apache::Session::DB_File,
40       Apache::Session::Postgres, Apache::Session
41
42
43
44perl v5.32.0                      2020-09-19         Apache::Session::MySQL(3)
Impressum