We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3851f79 commit 0b8747eCopy full SHA for 0b8747e
components/http_foundation/sessions.rst
@@ -14,10 +14,9 @@ implementation of :class:`Symfony\\Component\\HttpFoundation\\Session\\SessionIn
14
15
.. caution::
16
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.
+ Make sure your PHP session isn't already started before using the Session
+ class. If you have a legacy session system that starts your session, see
+ http://symfony.com/doc/current/components/http_foundation/session_php_bridge.html
21
22
Quick example::
23
0 commit comments