diff --git a/cookbook/configuration/pdo_session_storage.rst b/cookbook/configuration/pdo_session_storage.rst index 2919c587058..d70bb6aed43 100644 --- a/cookbook/configuration/pdo_session_storage.rst +++ b/cookbook/configuration/pdo_session_storage.rst @@ -43,6 +43,36 @@ configuration format of your choice): user: myuser password: mypassword + .. code-block:: xml + + + + + + + + + session + session_id + session_value + session_time + + + + + + + mysql:dbname=sf2demo + root + password + + + + + %pdo.db_options% + %pdo.options% + + * ``db_table``: The name of the session table in your database * ``db_id_col``: The name of the id column in your session table (VARCHAR(255) or larger) @@ -71,6 +101,14 @@ parameter.ini by referencing the database-related parameters defined there: user: %database_user% password: %database_password% + .. code-block:: xml + + + mysql:dbname=%database_name% + %database_user% + %database_password% + + Example MySQL Statement -----------------------