From c1f88e64444d11f1fbb4f825fe031c9406e201b6 Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Tue, 5 Sep 2023 20:47:43 +0200 Subject: [PATCH] Document session cookie in response --- session.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/session.rst b/session.rst index 25e4c7135a8..1a4d26d767c 100644 --- a/session.rst +++ b/session.rst @@ -403,6 +403,13 @@ Check out the Symfony config reference to learn more about the other available ``session.auto_start = 1`` This directive should be turned off in ``php.ini``, in the web server directives or in ``.htaccess``. +Session cookie is available in the ``Response`` object. It's useful in the CLI context +or php runtime with runners like Roadrunner or Swoole. + +.. versionadded:: 5.4 + + Accessing to the session cookie in the ``Response`` object was introduced in Symfony 5.4. + Session Idle Time/Keep Alive ~~~~~~~~~~~~~~~~~~~~~~~~~~~~