{
    "mode": "perldoc",
    "parameter": "Apache::Session::Generate::ModUsertrack",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3AGenerate%3A%3AModUsertrack/json",
    "generated": "2026-06-09T13:18:28Z",
    "synopsis": "use Apache::Session::Flex;\ntie %session, 'Apache::Session::Flex', $id, {\nStore     => 'MySQL',\nLock      => 'Null',\nGenerate  => 'ModUsertrack',\nSerialize => 'Storable',\nModUsertrackCookieName => 'usertrack', # optional\n};",
    "sections": {
        "NAME": {
            "content": "Apache::Session::Generate::ModUsertrack - modusertrack for session ID generation\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Apache::Session::Flex;\n\ntie %session, 'Apache::Session::Flex', $id, {\nStore     => 'MySQL',\nLock      => 'Null',\nGenerate  => 'ModUsertrack',\nSerialize => 'Storable',\nModUsertrackCookieName => 'usertrack', # optional\n};\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Apache::Session::Generate::ModUsertrack enables you to use cookie tracked by modusertrack as\nsession id for Apache::Session framework. This module fits well with long-term sessions, so\nbetter using RDBMS like MySQL for its storage.\n",
            "subsections": []
        },
        "CONFIGURATION": {
            "content": "This module accepts one extra configuration option.\n\nModUsertrackCookieName\nSpecifies cookie name used in modusertrack. \"Apache\" for default, so change this if you\nchange it via \"CookieName\" directive in modusertrack.\n",
            "subsections": []
        },
        "LIMITATION WITHOUT MODPERL": {
            "content": "This module first tries to fetch named cookie, but will in vain ONLY WHEN the HTTP request is\nthe first one from specific client to the modusertrack enabled Apache web server. It is because\nif the request is for the first time, cookies are not yet baked on clients.\n\nIf you run scripts under modperl, this module tries to steal (not yet baked) cookie from Apache\nrequest notes.\n\nSee Apache for details.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Tatsuhiko Miyagawa <miyagawa@bulknews.net>\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Apache::Session, Apache::Session::Flex, modusertrack\n",
            "subsections": []
        }
    },
    "summary": "Apache::Session::Generate::ModUsertrack - modusertrack for session ID generation",
    "flags": [],
    "examples": [],
    "see_also": []
}