Apache::Session::File - An implementation of Apache::Session
| Use Case | Command | Description |
|---|---|---|
| π¦ Create or access session | tie %hash, 'Apache::Session::File', $id, { Directory => '/tmp/sessions', LockDirectory => '/var/lock/sessions' }; | Tie %hash to a fileβbacked session using the given ID. Directories must exist. |
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.22-1-g1b0fcb4 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-05 09:08 @216.73.216.52
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format