---
name: "Apache::Session::DB_File"
section: "3pm"
platform: "linux"
package: "libapache-session-perl"
version: "1.94-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Apache::Session::DB_File"
---

# Apache::Session::DB\_File(3pm)

An implementation of Apache::Session

## NAME

Apache::Session::DB\_File - An implementation of Apache::Session

## SYNOPSIS

```
 use Apache::Session::DB_File;
 tie %hash, 'Apache::Session::DB_File', $id, {
    FileName      => 'sessions.db',
    LockDirectory => '/var/lock/sessions',
 };
```

## DESCRIPTION

This module is an implementation of Apache::Session.  It uses the DB\_File backing store and the File locking scheme.  You must specify the filename of the database file and the directory for locking in arguments to the constructor. See the example, and the documentation for Apache::Session::Store::DB\_File and Apache::Session::Lock::File.

## AUTHOR

This module was written by Jeffrey William Baker \<jwbaker@acm.org\>.

## SEE ALSO

Apache::Session::File, Apache::Session::Flex, Apache::Session::MySQL, Apache::Session::Postgres, Apache::Session
