NAME
Apache::Session::Store::Ipc - Store persistent data on the IPC shared memory segment.
SYNOPSIS
use Apache::Session::Store::Ipc;
my $store = new Apache::Session::Store::Ipc;
$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 IPC shared memory segments.
OPTIONS
This module requires one argument in the usual Apache::Session style. The name of the option is IpcName, and the value is the "glue" (id) used to access to the shared memory segment. Example:
tie %s, 'Apache::Session::Ipc', undef,
{IpcName => 'SESS'};
You can also add other IPC::Shareable options using the "IpcOptions" option. Example:
tie %s, 'Apache::Session::Ipc', undef,
{IpcName => 'SESS',
IpcOptions => {mode => 0600}
};
See IPC::Shareable for more details.
AUTHOR
This module was written by Xavier Guimard <x.guimard@free.fr>
COPYRIGHT AND LICENSE
Copyright (C) 2005 by Xavier Guimard
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.