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

Apache::Session::epDBI - Store client sessions in your DBMS (patch for Embperl)

SYNOPSIS

use Apache::Session::epDBI

DESCRIPTION

This is a patched DBI storage subclass for Apache::Session::DBI. Client state is stored in a database via the DBI module. Look at perldoc Apache::Session::DBI for a description.

This module makes sure that Apache::Session::DBI works correctly together with HTML::Embperl. Additionaly it serializes all requests to the same ID. Look at Apache::Session::DBI and HTML::Embperl for more documentation.

If you see warnings about 'Lock for session xxx failed...', this means that currently another request is accessing the same session and Apache::Session::epDBI is waiting until either the first request releases the lock or the timeout valus is reached.

ADDTIONAL CONFIGURATION VARS

EMBPERL_SESSION_LOCK_WAIT (default 0.1)

Time in seconds to wait between two reties to lock the same ID

EMBPERL_SESSION_LOCK_TIMEOUT (default 20)

Time in seconds afters which the lock fails.

NOTE

This is only a workaround for Apache::Session 0.17. The next release of Apache::Session will (hopefully) work with Embperl and serializes all request on it own.

AUTHORS

Gerald Richter <richter@dev.ecos.de>

Redistribute under the Perl Artistic License.