man Apache::Session::Sybase () - An implementation of Apache::Session

NAME

Apache::Session::Sybase - An implementation of Apache::Session

SYNOPSIS

 use Apache::Session::Sybase;

 # if you want Apache::Session to open new DB handles:

 tie %hash, 'Apache::Session::Sybase', $id, {
    DataSource => 'dbi:Sybase:database=sessions;server=SYBASE',
    UserName   => $db_user,
    Password   => $db_pass,
    Commit     => 1,
 };

 # or, if your handle is already opened:

 tie %hash, 'Apache::Session::Sybase', $id, {
    Handle     => $dbh,
    Commit     => 0,    
 };

DESCRIPTION

This module is an implementation of Apache::Session. It uses the Sybase backing store and the Null locking scheme. See the example, and the documentation for Apache::Session::Store::Sybase (also for the parameters that get passed to the backing store along with the schema necessary to save the sessions) and Apache::Session::Lock::Null for more details.

AUTHOR

This module was based on Apache::Session::MySQL which was written by Jeffrey William Baker <jwbaker@acm.org>; it was modified by Chris Winters <chris@cwinters.com>.

SEE ALSO

Apache::Session