# man > Apache::Session::Store::DB_File(3pm)

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

## Quick Reference
- `tie %sessions, 'Apache::Session::DB_File', undef, {FileName => '/tmp/sessions'};` — Tie a hash to a DB_File-backed session store
- `my $store = Apache::Session::Store::DB_File->new();` — Instantiate a new store object
- `$store->insert($session_ref);` — Insert a persistent session object
- `$store->update($session_ref);` — Update an existing stored session
- `$store->materialize($session_ref);` — Materialize (load) a session from storage
- `$store->remove($session_ref);` — Remove a session from the backing store

## Name
`Apache::Session::Store::DB_File` — Use DB_File to store persistent objects

## Synopsis
perl
use Apache::Session::Store::DB_File;

my $store = Apache::Session::Store::DB_File->new();

$store->insert($ref);
$store->update($ref);
$store->materialize($ref);
$store->remove($ref);
## Options
- `FileName` — Full path of the database file to use as the backing store. Created if it does not exist. This is the single required option passed to the tie interface or constructor.

## See Also
- `Apache::Session`
- `DB_File`