{
    "mode": "perldoc",
    "parameter": "Apache::Session::Oracle",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3AOracle/json",
    "generated": "2026-06-13T01:51:00Z",
    "synopsis": "use Apache::Session::Oracle;\n#if you want Apache::Session to open new DB handles:\ntie %hash, 'Apache::Session::Oracle', $id, {\nDataSource => 'dbi:Oracle:sessions',\nUserName   => $dbuser,\nPassword   => $dbpass,\nCommit     => 1\n};\n#or, if your handles are already opened:\ntie %hash, 'Apache::Session::Oracle', $id, {\nHandle => $dbh,\nCommit => 1\n};",
    "sections": {
        "NAME": {
            "content": "Apache::Session::Oracle - An implementation of Apache::Session\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Apache::Session::Oracle;\n\n#if you want Apache::Session to open new DB handles:\n\ntie %hash, 'Apache::Session::Oracle', $id, {\nDataSource => 'dbi:Oracle:sessions',\nUserName   => $dbuser,\nPassword   => $dbpass,\nCommit     => 1\n};\n\n#or, if your handles are already opened:\n\ntie %hash, 'Apache::Session::Oracle', $id, {\nHandle => $dbh,\nCommit => 1\n};\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module is an implementation of Apache::Session. It uses the Oracle backing store and no\nlocking. See the example, and the documentation for Apache::Session::Store::Oracle for more\ndetails.\n",
            "subsections": []
        },
        "USAGE": {
            "content": "The special Apache::Session argument for this module is Commit. You MUST provide the Commit\nargument, which instructs this module to either commit the transaction when it is finished, or\nto simply do nothing. This feature is provided so that this module will not have adverse\ninteractions with your local transaction policy, nor your local database handle caching policy.\nThe argument is mandatory in order to make you think about this problem.\n\nThis module also respects the LongReadLen argument, which specifies the maximum size of the\nsession object. If not specified, the default maximum is 8 KB.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "This module was written by Jeffrey William Baker <jwbaker@acm.org>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Apache::Session::File, Apache::Session::Flex, Apache::Session::DBFile,\nApache::Session::Postgres, Apache::Session\n",
            "subsections": []
        }
    },
    "summary": "Apache::Session::Oracle - An implementation of Apache::Session",
    "flags": [],
    "examples": [],
    "see_also": []
}