From af62658289a297095cdc908f295f460c95782706 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 7 Sep 2018 16:38:52 +0200 Subject: [PATCH] Documented the "auto" mode of "cookie_secure" --- reference/configuration/framework.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 43d5634a05f..7aafe7edb20 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -852,9 +852,14 @@ The possible values for this option are: cookie_secure ............. -**type**: ``boolean`` **default**: ``false`` +**type**: ``boolean`` or ``string`` **default**: ``'auto'`` + +This determines whether cookies should only be sent over secure connections. The +default value is ``auto``, which means ``true`` for HTTPS requests and ``false`` +for HTTP requests. -This determines whether cookies should only be sent over secure connections. +.. versionadded:: 4.2 + The ``auto`` value was introduced in Symfony 4.2. cookie_httponly ............... pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy