{
    "mode": "perldoc",
    "parameter": "Apache::Session::Store::Informix",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Apache%3A%3ASession%3A%3AStore%3A%3AInformix/json",
    "generated": "2026-07-05T09:29:45Z",
    "synopsis": "use Apache::Session::Store::Informix;\nmy $store = new Apache::Session::Store::Informix;\n$store->insert($ref);\n$store->update($ref);\n$store->materialize($ref);\n$store->remove($ref);",
    "sections": {
        "NAME": {
            "content": "Apache::Session::Store::Informix - Store persistent data in a Informix database\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Apache::Session::Store::Informix;\n\nmy $store = new Apache::Session::Store::Informix;\n\n$store->insert($ref);\n$store->update($ref);\n$store->materialize($ref);\n$store->remove($ref);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Apache::Session::Store::Informix fulfills the storage interface of Apache::Session. Session data\nis stored in a Informix database.\n",
            "subsections": []
        },
        "SCHEMA": {
            "content": "To use this module, you will need at least these columns in a table called 'sessions':\n\nid char(32)     # or however long your session IDs are.\nasession lvarchar\n\nTo create this schema, you can execute this command using the sqlplus program:\n\nCREATE TABLE sessions (\nid char(32) not null primary key,\nasession lvarchar\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::Informix', $id, {\nDataSource => 'dbi:Informix: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::Informix', $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 module was written by Mike Langen <mike.langen@tamedia.ch>, based on the original for\nOracle.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Apache::Session, Apache::Session::Store::DBI\n",
            "subsections": []
        }
    },
    "summary": "Apache::Session::Store::Informix - Store persistent data in a Informix database",
    "flags": [],
    "examples": [],
    "see_also": []
}