info > Apache::Session::Generate::ModUsertrack

📖 NAME

Apache::Session::Generate::ModUsertrack — 🍪 mod_usertrack for session ID generation

🚀 Quick Reference

Use CaseCommandDescription
🧩 Use mod_usertrack cookie as session IDGenerate => 'ModUsertrack'Use mod_usertrack tracked cookie for session ID generation in Apache::Session
⚙️ Set custom cookie nameModUsertrackCookieName => 'usertrack'Specify cookie name used in mod_usertrack (default: "Apache")
🔌 Full tie exampletie %session, 'Apache::Session::Flex', $id, { Store => 'MySQL', Generate => 'ModUsertrack', ... }Complete setup with MySQL storage and mod_usertrack generation

📋 SYNOPSIS

use Apache::Session::Flex;

tie %session, 'Apache::Session::Flex', $id, {
    Store     => 'MySQL',
    Lock      => 'Null',
    Generate  => 'ModUsertrack',
    Serialize => 'Storable',
    ModUsertrackCookieName => 'usertrack', # optional
};

📝 DESCRIPTION

Apache::Session::Generate::ModUsertrack enables you to use 🍪 cookie tracked by mod_usertrack as session id for Apache::Session framework. This module fits well with ⏳ long-term sessions, so better using RDBMS like 🐬 MySQL for its storage.

⚙️ CONFIGURATION

This module accepts one extra configuration option.

⚠️ LIMITATION WITHOUT MOD_PERL

This module first tries to fetch named cookie, but will in vain ❌ ONLY WHEN the HTTP request is the first one from specific client to the mod_usertrack enabled Apache web server. It is because if the request is for the first time, cookies are not yet baked 🍪 on clients.

If you run scripts under 🔄 mod_perl, this module tries to steal (not yet baked) cookie from Apache request notes.

See Apache for details.

👤 AUTHOR

Tatsuhiko Miyagawa <miyagawa AT bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

🔗 SEE ALSO

perl v5.30.3                     Apache::Session::Generate::ModUsertrack(3pm)

Apache::Session::Generate::ModUsertrack
📖 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION ⚙️ CONFIGURATION ⚠️ LIMITATION WITHOUT MOD_PERL 👤 AUTHOR 🔗 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:08 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!