Skip to content

Commit 0b8747e

Browse files
Scott Warrenweaverryan
Scott Warren
authored andcommitted
Updated warning for Sessions
1 parent 3851f79 commit 0b8747e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/http_foundation/sessions.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ implementation of :class:`Symfony\\Component\\HttpFoundation\\Session\\SessionIn
1414

1515
.. caution::
1616

17-
Make sure your sessions aren't already initialized (which is, for example,
18-
automatically done in the full-stack framework). As initializing the
19-
Session object causes the session to be started, which can lead to unexpected
20-
errors.
17+
Make sure your PHP session isn't already started before using the Session
18+
class. If you have a legacy session system that starts your session, see
19+
http://symfony.com/doc/current/components/http_foundation/session_php_bridge.html
2120

2221
Quick example::
2322

0 commit comments

Comments
 (0)