Commit 11309518 authored by Fabien Potencier's avatar Fabien Potencier

merged branch igorw/handler-session-doc (PR #535)

This PR was merged into the master branch.

Commits
-------

7d07da09 Update { => Native}FileSessionHandler in session doc

Discussion
----------

Update { => Native}FileSessionHandler in session doc

---------------------------------------------------------------------------

by indeyets at 2012-11-08T16:48:47Z

by the way, is non-native option still available somewhere?

---------------------------------------------------------------------------

by igorw at 2012-11-08T17:02:07Z

Yes. If you set the `session.test` parameter to true, it will use a `MockFileSessionStorage` instead. See also [the SessionServiceProvider docs](silex.sensiolabs.org/doc/providers/session.html).
parents 80c1205e 7d07da09
......@@ -8,7 +8,7 @@ Parameters
----------
* **session.storage.save_path** (optional): The path for the
``FileSessionHandler``, defaults to the value of
``NativeFileSessionHandler``, defaults to the value of
``sys_get_temp_dir()``.
* **session.storage.options**: An array of options that is passed to the
......@@ -42,8 +42,8 @@ Services
data.
* **session.storage.handler**: A service that is used by the
``session.storage`` for data access. Defaults to a `FileSessionHandler
<http://api.symfony.com/master/Symfony/Component/HttpFoundation/Session/Storage/Handler/FileSessionHandler.html>`_
``session.storage`` for data access. Defaults to a `NativeFileSessionHandler
<http://api.symfony.com/master/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.html>`_
storage handler.
Registering
......
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