{
    "mode": "perldoc",
    "parameter": "Apache::Session::Store::Oracle",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3AStore%3A%3AOracle/json",
    "generated": "2026-06-10T16:39:15Z",
    "synopsis": "use Apache::Session::Store::Oracle;\nmy $store = new Apache::Session::Store::Oracle;\n$store->insert($ref);\n$store->update($ref);\n$store->materialize($ref);\n$store->remove($ref);",
    "sections": {
        "NAME": {
            "content": "Apache::Session::Store::Oracle - Store persistent data in a Oracle database\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Apache::Session::Store::Oracle;\n\nmy $store = new Apache::Session::Store::Oracle;\n\n$store->insert($ref);\n$store->update($ref);\n$store->materialize($ref);\n$store->remove($ref);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Apache::Session::Store::Oracle fulfills the storage interface of Apache::Session. Session data\nis stored in a Oracle database.\n",
            "subsections": []
        },
        "SCHEMA": {
            "content": "To use this module, you will need at least these columns in a table called 'sessions':\n\nid varchar2(32)     # or however long your session IDs are.\nasession long\n\nTo create this schema, you can execute this command using the sqlplus program:\n\nCREATE TABLE sessions (\nid varchar2(32) not null primary key,\nasession long\n);\n\nIf you use some other command, ensure that there is a unique index on the table's id column.\n",
            "subsections": []
        },
        "CONFIGURATION": {
            "content": "The module must know what datasource, username, and password to use when connecting to the\ndatabase. These values can be set using the options hash (see Apache::Session documentation).\nThe options are DataSource, UserName, and Password.\n\nExample:\n\ntie %hash, 'Apache::Session::Oracle', $id, {\nDataSource => 'dbi:Oracle:database',\nUserName   => 'databaseuser',\nPassword   => 'K00l'\n};\n\nInstead, you may pass in an already-opened DBI handle to your database.\n\ntie %hash, 'Apache::Session::Oracle', $id, {\nHandle => $dbh\n};\n\nThe last option is LongReadLen, which specifies the maximum size of the session object. If not\nsupplied, the default maximum size is 8 KB.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "This modules was written by Jeffrey William Baker <jwbaker@acm.org>\n\nA fix for the commit policy was contributed by Michael Schout <mschout@gkg.net>\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Apache::Session, Apache::Session::Store::DBI\n",
            "subsections": []
        }
    },
    "summary": "Apache::Session::Store::Oracle - Store persistent data in a Oracle database",
    "flags": [],
    "examples": [],
    "see_also": []
}