{
    "content": [
        {
            "type": "text",
            "text": "# CGI::Session::Driver::sqlite (perldoc)\n\n## NAME\n\nCGI::Session::Driver::sqlite - CGI::Session driver for SQLite\n\n## SYNOPSIS\n\n$s = CGI::Session->new(\"driver:sqlite\", $sid, {DataSource=>'/my/folder/sessions.sqlt'});\n$s = CGI::Session->new(\"driver:sqlite\", $sid, {Handle=>$dbh});\nor\n$s = CGI::Session->new('driver:sqlite', undef,\n{\nTableName=>'session',\nIdColName=>'myid',\nDataColName=>'mydata',\nHandle=>$dbh,\n});\n\n## DESCRIPTION\n\nsqlite driver stores session data in SQLite files using DBD::SQLite DBI driver. More details see\nCGI::Session::Driver::DBI, its parent class.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **DRIVER ARGUMENTS**\n- **BUGS AND LIMITATIONS**\n- **LICENSING**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "CGI::Session::Driver::sqlite",
        "section": "",
        "mode": "perldoc",
        "summary": "CGI::Session::Driver::sqlite - CGI::Session driver for SQLite",
        "synopsis": "$s = CGI::Session->new(\"driver:sqlite\", $sid, {DataSource=>'/my/folder/sessions.sqlt'});\n$s = CGI::Session->new(\"driver:sqlite\", $sid, {Handle=>$dbh});\nor\n$s = CGI::Session->new('driver:sqlite', undef,\n{\nTableName=>'session',\nIdColName=>'myid',\nDataColName=>'mydata',\nHandle=>$dbh,\n});",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DRIVER ARGUMENTS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "BUGS AND LIMITATIONS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSING",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "CGI::Session::Driver::sqlite - CGI::Session driver for SQLite\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "$s = CGI::Session->new(\"driver:sqlite\", $sid, {DataSource=>'/my/folder/sessions.sqlt'});\n$s = CGI::Session->new(\"driver:sqlite\", $sid, {Handle=>$dbh});\n\nor\n\n$s = CGI::Session->new('driver:sqlite', undef,\n{\nTableName=>'session',\nIdColName=>'myid',\nDataColName=>'mydata',\nHandle=>$dbh,\n});\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "sqlite driver stores session data in SQLite files using DBD::SQLite DBI driver. More details see\nCGI::Session::Driver::DBI, its parent class.\n",
                "subsections": []
            },
            "DRIVER ARGUMENTS": {
                "content": "Supported driver arguments are *DataSource* and *Handle*. At most only one of these arguments\ncan be set while creating session object.\n\n*DataSource* should be in the form of \"dbi:SQLite:dbname=/path/to/db.sqlt\". If \"dbi:SQLite:\" is\nmissing it will be prepended for you. If *Handle* is present it should be database handle ($dbh)\nreturned by DBI::connect().\n\nAs of version 1.7 of this driver, the third argument is NOT optional. Using a default database\nin the temporary directory is a security risk since anyone on the machine can create and/or read\nyour session data. If you understand these risks and still want the old behavior, you can set\nthe \"DataSource\" option to *'/tmp/sessions.sqlt'*.\n",
                "subsections": []
            },
            "BUGS AND LIMITATIONS": {
                "content": "None known.\n",
                "subsections": []
            },
            "LICENSING": {
                "content": "For support and licensing see CGI::Session\n",
                "subsections": []
            }
        }
    }
}