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 25607ad commit af62658Copy full SHA for af62658
reference/configuration/framework.rst
@@ -852,9 +852,14 @@ The possible values for this option are:
852
cookie_secure
853
.............
854
855
-**type**: ``boolean`` **default**: ``false``
+**type**: ``boolean`` or ``string`` **default**: ``'auto'``
856
+
857
+This determines whether cookies should only be sent over secure connections. The
858
+default value is ``auto``, which means ``true`` for HTTPS requests and ``false``
859
+for HTTP requests.
860
-This determines whether cookies should only be sent over secure connections.
861
+.. versionadded:: 4.2
862
+ The ``auto`` value was introduced in Symfony 4.2.
863
864
cookie_httponly
865
...............
0 commit comments