Skip to content

Commit 61c6479

Browse files
committed
minor #18832 Document session cookie in response (alamirault)
This PR was merged into the 5.4 branch. Discussion ---------- Document session cookie in response Try to document #15777 I'm not convinced by my wording, but let's do better together ! Commits ------- c1f88e6 Document session cookie in response
2 parents f7dd231 + c1f88e6 commit 61c6479

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

session.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,13 @@ Check out the Symfony config reference to learn more about the other available
403403
``session.auto_start = 1`` This directive should be turned off in
404404
``php.ini``, in the web server directives or in ``.htaccess``.
405405

406+
Session cookie is available in the ``Response`` object. It's useful in the CLI context
407+
or php runtime with runners like Roadrunner or Swoole.
408+
409+
.. versionadded:: 5.4
410+
411+
Accessing to the session cookie in the ``Response`` object was introduced in Symfony 5.4.
412+
406413
Session Idle Time/Keep Alive
407414
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
408415

0 commit comments

Comments
 (0)