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::SHAREDMEM (3)

.ds Aq ’

NAME

Apache::Session::SharedMem - Session management via shared memory

CONTENTS

SYNOPSIS



 use Apache::Session::SharedMem;

 tie %s, Apache::Session::SharedMem, $sessionid, { expires_in => 86400 }



DESCRIPTION

This module is an implementation of Apache::Session. It uses <B>IPC::CacheB> to store session variables in shared memory.

The advantage of this is that it is fairly fast (about the same speed, if not faster than <B>Apache::Session::FileB> and is very easy to set up making it perfect for when you want to test sessions but can’t be bothered to set up a database or don’t want cgi scripts writing temp files.

    CAVEATS

It probably isn’t very scaleable (i.e you probably shouldn’t use this in production code which is going to get hit hard.

I have no idea if it leaks memory yet. I’ve only just written it :)

Apparently it <B>IPC::ShareLiteB> (and hence <B>IPC::CacheB>) don’t work under Perl 5.6.

USAGE

Just the same as all the other <B>Apache::SessionB> modules. You can optionally pass the parameter <B>expires_inB> which will tell the Session to expire in a certain time.

PREREQUISITES

<B>Apache::Session::SharedMemB> needs <B>Apache::SessionB> and <B>IPC:CacheB>, both available from the CPAN.

AUTHOR

Simon Wistow <simon@twoshortplanks.com>

COPYRIGHT

This software is copyright(c) 2000, 2001, 2002 Simon Wistow. It is free software and can be used under the same terms as perl, i.e. either the GNU Public Licence or the Artistic License.

SEE ALSO

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


perl v5.20.3 APACHE::SESSION::SHAREDMEM (3) 2004-09-22

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