DOKK / manpages / debian 12 / libapache-session-perl / Apache::Session::Sybase.3pm.en
Apache::Session::Sybase(3pm) User Contributed Perl Documentation Apache::Session::Sybase(3pm)

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

 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,    
 };

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.

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

Apache::Session

2022-11-19 perl v5.36.0