{
    "content": [
        {
            "type": "text",
            "text": "# Apache::Session::Store::Sybase (perldoc)\n\n## NAME\n\nApache::Session::Store::Sybase - Store persistent data in a Sybase database\n\n## SYNOPSIS\n\nuse Apache::Session::Store::Sybase;\nmy $store = new Apache::Session::Store::MySQL;\n$store->insert( $ref );\n$store->update( $ref );\n$store->materialize( $ref );\n$store->remove( $ref );\n\n## DESCRIPTION\n\nApache::Session::Store::Sybase fulfills the storage interface of Apache::Session. Session data\nis stored in a Sybase database.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SCHEMA**\n- **CONFIGURATION**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Apache::Session::Store::Sybase",
        "section": "",
        "mode": "perldoc",
        "summary": "Apache::Session::Store::Sybase - Store persistent data in a Sybase database",
        "synopsis": "use Apache::Session::Store::Sybase;\nmy $store = new Apache::Session::Store::MySQL;\n$store->insert( $ref );\n$store->update( $ref );\n$store->materialize( $ref );\n$store->remove( $ref );",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SCHEMA",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "CONFIGURATION",
                "lines": 32,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Apache::Session::Store::Sybase - Store persistent data in a Sybase database\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Apache::Session::Store::Sybase;\n\nmy $store = new Apache::Session::Store::MySQL;\n\n$store->insert( $ref );\n$store->update( $ref );\n$store->materialize( $ref );\n$store->remove( $ref );\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Apache::Session::Store::Sybase fulfills the storage interface of Apache::Session. Session data\nis stored in a Sybase 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 IMAGE\n\nTo create this schema, you can execute this command using the isql or sqsh programs:\n\nCREATE TABLE sessions (\nid         CHAR(32) not null primary key,\nasession  TEXT\n)\ngo\n\nIf you use some other command, ensure that there is a unique index on the id column of the table\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:\n\nDataSource\nUserName\nPassword\n\nExample:\n\ntie %hash, 'Apache::Session::Sybase', $id, {\nDataSource => 'dbi:Sybase:database=db;server=server',\nUserName   => 'databaseuser',\nPassword   => 'K00l',\nCommit     => 1,\n};\n\nInstead, you may pass in an already-opened DBI handle to your database.\n\ntie %hash, 'Apache::Session::Sybase', $id, {\nHandle => $dbh\n};\n\nAdditional arguments you can pass to the backing store are:\n\nCommit - whether we should commit any changes; if you pass in an already-open database handle\nthat has AutoCommit set to a true value, you do not need to set this. If you let\nApache::Session::Store::Sybase create your database, handle, you must set this to a true value,\notherwise, your changes will not be saved\ntextsize - the value we should pass to the 'set textsize ' command that sets the max size of the\nIMAGE field. Default is 32K (at least in Sybase ASE 11.9.2).\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "This module was based on Apache::Session::Store::Oracle which was written by Jeffrey William\nBaker <jwbaker@acm.org>; it was modified by Chris Winters <chris@cwinters.com> to work with\nApache::Session 1.5+ with changes from earlier version of Apache::Session::DBI::Sybase from Mark\nLandry <mdlandry@lincoln.midcoast.com>.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Apache::Session\n",
                "subsections": []
            }
        }
    }
}