OpenInteract::Session::File - Create sessions within a filesystem
# In your configuration file [session_info] class = Apache::Session::File ... [session_info.params] Directory = /home/httpd/oi/sessions/data LockDirectory = /home/httpd/oi/sessions/lock ... [system_alias] session = OpenInteract::Session::File
Provide a '_create_session' method for OpenInteract::Session so we can use a filesystem as a backend for Apache::Session.
Note that failure to create the session throws a '310' error, which clears out the session cookie so it does not keep happening. (See OpenInteract::Error::System for the code.)
_create_session( $session_id )
Overrides the method from parent OpenInteract::Session, using the configuration information:
session_info.params.Directory ($)
Specify the directory in which to store sessions. No default is currently defined.
session_info.params.LockDirectory ($)
Specify the directory in which to store lock information. No default is currently defined.
None known.
Nothing.
Apache::Session::File
OpenInteract::Session
Copyright (c) 2001-2002 intes.net, inc.. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Chris Winters <chris@cwinters.com>
To install OpenInteract, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenInteract
CPAN shell
perl -MCPAN -e shell install OpenInteract
For more information on module installation, please visit the detailed CPAN module installation guide.