Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Apache::Session::MySQLUser Contributed Perl DocumentaApache::Session::MySQL(3)

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::Session::Store::MySQL and
       Apache::Session::Lock::MySQL for	more details.

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

SEE ALSO
       Apache::Session::File, Apache::Session::Flex, Apache::Session::DB_File,
       Apache::Session::Postgres, Apache::Session

perl v5.32.0			  2020-08-08	     Apache::Session::MySQL(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Apache::Session::MySQL&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help