Apache::Session::Sybase(3pm)
Apache::Session::Sybase – An implementation of Apache::Session
| Use Case | Command | Description |
|---|---|---|
| Open new DB handle and tie session | tie %hash, 'Apache::Session::Sybase', $id, { DataSource => '...', UserName => $user, Password => $pass, Commit => 1 } | 🔑 Automatically opens a new Sybase database connection for session storage |
| Use existing database handle | tie %hash, 'Apache::Session::Sybase', $id, { Handle => $dbh, Commit => 0 } | 🔗 Reuse an already-opened DBI handle for sessions |
| Basic usage | use Apache::Session::Sybase; | 📦 Load the module, then tie a hash as above |
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 AT acm.org>; it was modified by Chris Winters <chris AT cwinters.com>.
perl v5.30.3 2020-09-20 Apache::Session::Sybase(3pm)
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:49 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)