Home | Wiki | OI 1.x Docs | OI 2.x Docs |
OpenInteract2::SessionManager::File - Create sessions within a filesystem
# In your configuration file
[session_info] class = OpenInteract2::SessionManager::File impl_class = Apache::Session::File ... [session_info.params] Directory = /home/httpd/oi/sessions/data LockDirectory = /home/httpd/oi/sessions/lock
Provide a '_create_session' method for OpenInteract2::SessionManager so we can use a filesystem as a backend for Apache::Session.
_validate_config( $session_config )
Ensure our configuration is valid.
session_info.params.Directory (REQUIRED)
Specify the directory in which to store sessions.
session_info.params.LockDirectory (REQUIRED)
Specify the directory in which to store lock information. No default is currently defined.
_create_session( $session_config, [ $session_id ] )
Overrides the method from parent
OpenInteract2::SessionManager. See
configuration discussion in _validate_config
and in the
implementation class (e.g.,
Apache::Session::File.
Copyright (c) 2001-2003 Chris Winters. 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>
Generated from the OpenInteract 1.99_03 source.