GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  APACHE::SESSION::MYSQL::NOLOCK (3)

.ds Aq ’

NAME

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

CONTENTS

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 <B>DOES NOT DO ANY LOCKINGB>. This can cause your session data to be overwritten or stale data to be read by subsequent requests.

This <B>CAN CAUSE LARGE PROBLEMS IN YOUR APPLICATIONB>.

AUTHOR

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

SEE ALSO

Apache::Session::MySQL, Apache::Session::Flex, Apache::Session
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 APACHE::SESSION::MYSQL::NOLOCK (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.