Skip to content

Commit c1f88e6

Browse files
committed
Document session cookie in response
1 parent bedfda0 commit c1f88e6

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)