# info > Apache::Session::Sybase

---
type: CommandReference
command: Apache::Session::Sybase
mode: perldoc
section: 3pm
source: perldoc
---

## Quick Reference

- `tie %hash, 'Apache::Session::Sybase', $id, { DataSource => '...', UserName => $user, Password => $pass, Commit => 1 }` — Open new DB handles.
- `tie %hash, 'Apache::Session::Sybase', $id, { Handle => $dbh, Commit => 0 }` — Use existing handle.

## Name

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

## Synopsis

perl
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 documentation for Apache::Session::Store::Sybase (for parameters passed to the backing store and schema) and Apache::Session::Lock::Null for more details.

## See Also

[Apache::Session](http://localhost/phpMan.php/perldoc/Apache%3A%3ASession/markdown)