Apache::Session::MySQL::NoLock(3pm) - phpMan

Command: man perldoc info search(apropos)  


Apache::Session::MySQL::NoLock(User Contributed Perl DocumentaApache::Session::MySQL::NoLock(3pm)

NAME
       Apache::Session::MySQL::NoLock - An implementation of Apache::Session::MySQL without
       locking

SYNOPSIS
        use Apache::Session::MySQL::NoLock;

        #if you want Apache::Session to open new DB handles:

        tie %hash, 'Apache::Session::MySQL::NoLock', $id, {
           DataSource => 'dbi:mysql:sessions',
           UserName => $db_user,
           Password => $db_pass,
        };

        #or, if your handles are already opened:

        tie %hash, 'Apache::Session::MySQL::NoLock', $id, {
           Handle => $dbh,
        };

        To configure the non-locking session store in RT (what I use this module for),
        put the following into your C<RT_SiteConfig.pm> module:

           Set($WebSessionClass , 'Apache::Session::MySQL::NoLock');

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

WARNING
       This module explicitly DOES NOT DO ANY LOCKING. This can cause your session data to be
       overwritten or stale data to be read by subsequent requests.

       This CAN CAUSE LARGE PROBLEMS IN YOUR APPLICATION.

AUTHOR
       This module was written by Tomas Doran <bobtfish AT bobtfish.net>.

SEE ALSO
       Apache::Session::MySQL, Apache::Session::Flex, Apache::Session

perl v5.30.3                                2020-09-20        Apache::Session::MySQL::NoLock(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-02-22 05:47 @52.14.43.204 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!