NAME
OpenInteract::Session::File - Create sessions within a filesystem
SYNOPSIS
# 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
DESCRIPTION
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.)
METHODS
_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.
BUGS
None known.
TO DO
Nothing.
SEE ALSO
COPYRIGHT
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.
AUTHORS
Chris Winters <chris@cwinters.com>