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

use Apache::Session::Store::SharedMem; my $store = new Apache::Session::Store::SharedMem; $store->insert($ref); $store->update($ref); $store->materialize($ref); $store->remove($ref);

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

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 };

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

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.
