Commit fcd93b34 authored by Fabien Potencier's avatar Fabien Potencier

added a note about all possible options for the session (refs #633)

parent a31af557
...@@ -16,7 +16,7 @@ Parameters ...@@ -16,7 +16,7 @@ Parameters
In case of the default `NativeSessionStorage In case of the default `NativeSessionStorage
<http://api.symfony.com/master/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.html>`_, <http://api.symfony.com/master/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.html>`_,
the possible options are: the most useful options are:
* **name**: The cookie name (_SESS by default) * **name**: The cookie name (_SESS by default)
* **id**: The session id (null by default) * **id**: The session id (null by default)
...@@ -29,6 +29,9 @@ Parameters ...@@ -29,6 +29,9 @@ Parameters
However, all of these are optional. Sessions last as long as the browser is However, all of these are optional. Sessions last as long as the browser is
open. To override this, set the ``lifetime`` option. open. To override this, set the ``lifetime`` option.
For a full list of available options, read the `PHP
<http://php.net/session.configuration>`_ official documentation.
* **session.test**: Whether to simulate sessions or not (useful when writing * **session.test**: Whether to simulate sessions or not (useful when writing
functional tests). functional tests).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment