Skip to content

Commit

Permalink
minor #3772 [Cookbook][Sessions] some language improvements (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

[Cookbook][Sessions] some language improvements

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Commits
-------

f4d40e7 [Cookbook][Sessions] some language improvements
  • Loading branch information
weaverryan committed Apr 12, 2014
2 parents 3d30b56 + f4d40e7 commit 703c2a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cookbook/session/proxy_examples.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. index::
single: Sessions, session proxy, proxy
single: Sessions, Session Proxy, Proxy

Session Proxy Examples
======================
Expand All @@ -16,7 +16,7 @@ is injected into the proxy and registered with the session storage driver::
$session = new Session(new NativeSessionStorage(array(), $proxy));

Below, you'll learn two real examples that can be used for ``YourProxy``:
encryption of session data and readonly guest session.
encryption of session data and readonly guest sessions.

Encryption of Session Data
--------------------------
Expand Down Expand Up @@ -56,8 +56,8 @@ Readonly Guest Sessions
-----------------------

There are some applications where a session is required for guest users, but
there is no particular need to persist the session. In this case you can
intercept the session before it writes::
where there is no particular need to persist the session. In this case you
can intercept the session before it is written::

use Foo\User;
use Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy;
Expand Down

0 comments on commit 703c2a6

Please sign in to comment.