Apache::Session::File(User Contributed Perl DocumentApache::Session::File(3pm))
Apache::Session::File - An implementation of Apache::Session
| Use Case | Command | Description |
|---|---|---|
| Initialize session with file storage | tie %hash, 'Apache::Session::File', $id, { Directory => '/tmp/sessions', LockDirectory => '/var/lock/sessions' }; | Creates a tied hash session using file-based storage and locking. |
| Specify custom directories | tie %hash, 'Apache::Session::File', $id, { Directory => $dir, LockDirectory => $lockdir }; | Allows explicit path for session data and lock files. |
use Apache::Session::File;
tie %hash, 'Apache::Session::File', $id, {
Directory => '/tmp/sessions',
LockDirectory => '/var/lock/sessions',
};
This module is an implementation of Apache::Session. It uses the File backing store and the File locking scheme. You must specify the directory for the object store and the directory for locking in arguments to the constructor. See the example, and the documentation for Apache::Session::Store::File and Apache::Session::Lock::File.
This module was written by Jeffrey William Baker <jwbaker AT acm.org>.
Apache::Session::DB_File, Apache::Session::Flex, Apache::Session::MySQL, Apache::Session::Postgres, Apache::Session
perl v5.30.3 2020-09-20 Apache::Session::File(3pm)
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-26 01:28 @216.73.217.127
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)