man > Apache::Session::DB_File

📖 NAME

Apache::Session::DB_File — An implementation of Apache::Session

🚀 Quick Reference

Use Case Command Description
Initialize a session tied to a DB file tie %hash, 'Apache::Session::DB_File', $id, { FileName => 'sessions.db', LockDirectory => '/var/lock/sessions' } 🔗 Ties a Perl hash to a session stored in a Berkeley DB file using file-based locking.
Specify the database file path FileName => 'path/to/sessions.db' 📁 Mandatory argument to define the DB_File database path.
Specify the lock directory LockDirectory => '/var/lock/sessions' 📂 Mandatory argument to define where lock files are stored.

⚡ 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 AT acm.org>.

📚 SEE ALSO

perl v5.30.3 2020-09-20 Apache::Session::DB_File(3pm)

Apache::Session::DB_File
📖 NAME 🚀 Quick Reference ⚡ SYNOPSIS 📝 DESCRIPTION 🖊️ AUTHOR 📚 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-27 14:46 @216.73.216.67
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!