The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

 # In your configuration file

 [session_info]
 class         = OpenInteract2::Session::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::Session 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::Session. See configuration discussion in _validate_config and in the implementation class (e.g., Apache::Session::File.

SEE ALSO

Apache::Session::File

OpenInteract2::Session

COPYRIGHT

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.

AUTHORS

Chris Winters <chris@cwinters.com>