Skip to content

Commit

Permalink
Merge pull request #1076 from IntoWebDevelopment/5b7ef11-update
Browse files Browse the repository at this point in the history
PdoSessionStorage - Symfony2.1
  • Loading branch information
weaverryan committed Mar 7, 2012
2 parents d8187a5 + 9e74316 commit c4eca61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cookbook/configuration/pdo_session_storage.rst
Expand Up @@ -14,6 +14,14 @@ Symfony2 has a built-in solution for database session storage called
To use it, you just need to change some parameters in ``config.yml`` (or the To use it, you just need to change some parameters in ``config.yml`` (or the
configuration format of your choice): configuration format of your choice):


.. versionadded:: 2.1
In Symfony2.1 the class and namespace are slightly modified. You can now
find the `PdoStorage` class in the `Session\\Storage` namespace. Full
version below:

:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\PdoStorage`.
Also note that you need to swap `%session.storage.options%` with `%pdo.db_options%`.

.. configuration-block:: .. configuration-block::


.. code-block:: yaml .. code-block:: yaml
Expand Down

0 comments on commit c4eca61

Please sign in to comment.