Session::MySQL(3pm) User Contributed Perl Documentation Session::MySQL(3pm)
NAME
Apache::Session::MySQL - An implementation of Apache::Session
SYNOPSIS
use Apache::Session::MySQL;
#if you want Apache::Session to open new DB handles:
tie %hash, 'Apache::Session::MySQL', $id, {
DataSource => 'dbi:mysql:sessions',
UserName => $db_user,
Password => $db_pass,
LockDataSource => 'dbi:mysql:sessions',
LockUserName => $db_user,
LockPassword => $db_pass
};
#or, if your handles are already opened:
tie %hash, 'Apache::Session::MySQL', $id, {
Handle => $dbh,
LockHandle => $dbh
};
DESCRIPTION
This module is an implementation of Apache::Session. It uses the MySQL backing store and
the MySQL locking scheme. See the example, and the documentation for Apache::Ses-
sion::Store::MySQL and Apache::Session::Lock::MySQL for more details.
AUTHOR
This module was written by Jeffrey William Baker <jwbaker AT acm.org>.
SEE ALSO
Apache::Session::File, Apache::Session::Flex, Apache::Session::DB_File, Apache::Ses-
sion::Postgres, Apache::Session
perl v5.8.8 2008-02-03 Session::MySQL(3pm)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-19 16:31 @38.107.179.239 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)