NAME
Apache::iNcom::SessionLocker - Manage locks for iNcom's sessions.
SYNOPSIS
package MySession;
sub get_lock_manager {
my $self = shift;
return new Apache::iNcom::SessionLocker;
}
DESCRIPTION
Apache::iNcom::SessionLocker will serialize access to the sessions if the configuration directive INCOM_SESSION_SERIALIZE_ACCESS is set.
A maximum of 5 seconds is waited for lock.
SCHEMA
This modules expect a table created with the following schema :
CREATE TABLE sessions (
id CHAR(32) PRIMARY KEY,
length INT,
a_session TEXT,
created TIMESTAMP DEFAULT 'now()',
last_update TIMESTAMP DEFAULT 'now()',
locked_by INT
);
The previous SQL statement is valid for PostgreSQL. Adapt for your specific DBMS.
AUTHOR
Copyright (c) 1999 Francis J. Lacoste and iNsu Innovations Inc. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms as perl itself.
SEE ALSO
Apache::Session(3) Apache::Session::DBIStore(3) DBI(3)