Skip to content

Commit 4de0103

Browse files
tobemediaweaverryan
authored andcommitted
incorrect session short description
The session cookie only holds the session token. By default, the data attributes are stored (inside a bag) at a file. @see NativeFileSessionHandler.
1 parent 83ef27d commit 4de0103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ Managing the Session
352352
--------------------
353353

354354
Symfony provides a nice session object that you can use to store information
355-
about the user between requests. By default, Symfony stores the attributes in a
356-
cookie by using native PHP sessions.
355+
about the user between requests. By default, Symfony stores the token in a
356+
cookie and writes the attributes to a file by using native PHP sessions.
357357

358358
To retrieve the session, call
359359
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::getSession`

0 commit comments

Comments
 (0)