[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Clarify what 'cookie_secure' actually means
From:       Derick Rethans <noreply () php ! net>
Date:       2023-12-18 14:29:56
Message-ID: aPjti9qFy6PUWRcKJRp9dXMEkCHPK0DdotVkUC8eA () main ! php ! net
[Download RAW message or body]

Author: Derick Rethans (derickr)
Date: 2023-12-18T14:16:07Z

Commit: https://github.com/php/doc-en/commit/cfcad8e3474d87bb6bcaa1515476694bf60e3d5d
Raw diff: https://github.com/php/doc-en/commit/cfcad8e3474d87bb6bcaa1515476694bf60e3d5d.diff

Clarify what 'cookie_secure' actually means

Changed paths:
  M  reference/session/ini.xml


Diff:

diff --git a/reference/session/ini.xml b/reference/session/ini.xml
index 5dd7cbcde97..0a505b1171e 100644
--- a/reference/session/ini.xml
+++ b/reference/session/ini.xml
@@ -635,8 +635,10 @@
    <listitem>
     <simpara>
      <literal>session.cookie_secure</literal> specifies whether
-     cookies should only be sent over secure connections. Defaults to
-     <literal>off</literal>.
+     cookies should only be sent over secure connections. With this option set
+     to <literal>on</literal>, sessions only work with HTTPS connections.
+     If it is <literal>off</literal>, then sessions work with both HTTP and
+     HTTPS connections. Defaults to <literal>off</literal>.
      See also
      <function>session_get_cookie_params</function> and
      <function>session_set_cookie_params</function>.

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic