NAME

OpenInteract2::SessionManager::File - Create sessions within a filesystem

SYNOPSIS

# 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

DESCRIPTION

Provide a '_create_session' method for OpenInteract2::SessionManager so we can use a filesystem as a backend for Apache::Session.

METHODS

_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.

SEE ALSO

Apache::Session::File

OpenInteract2::SessionManager

COPYRIGHT

Copyright (c) 2001-2004 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.

AUTHORS

Chris Winters <chris@cwinters.com>