Apache::Session::Store::SharedMem(3)

NAME
Apache::Session::Store::SharedMem - Store persistent data in shared memory

SYNOPSIS
 use Apache::Session::Store::SharedMem;

 my $store = new Apache::Session::Store::SharedMem;

 $store->insert($ref);
 $store->update($ref);
 $store->materialize($ref);
 $store->remove($ref);

DESCRIPTION
This module fulfills the storage interface of Apache::Session. The serialized objects are stored in shared memory.

OPTIONS
This module can optionally take one argument in the usual Apache::Session style. The name of the option is expires_in, and the value is the amount of time, in seconds, that the data in the session will expire in.

 # session wil expire in a day
 tie %s, 'Apache::Session::SharedMem', undef, { expires_in => 86400 };

AUTHOR
This module was written by Simon Wistow <simon@twoshortplanks.com>.

COPYRIGHT
Copyright 2000, 2001 Simon Wistow <simon@twoshortplanks.com> This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO
Apache::Session, Apache::Session::SharedMem, IPC::Cache