You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2020/07/29 16:41:26 UTC

[couchdb-documentation] 02/02: Describe what persistent_cookies = true actually does

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch persistent-cookies-accurate-description
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit e17dcd1ab252bb7a56275cfbe67b6d6c2809a76b
Author: Robert Newson <ro...@uk.ibm.com>
AuthorDate: Wed Jul 29 17:39:46 2020 +0100

    Describe what persistent_cookies = true actually does
---
 src/config/auth.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/config/auth.rst b/src/config/auth.rst
index 96ea403..6fcac04 100644
--- a/src/config/auth.rst
+++ b/src/config/auth.rst
@@ -134,7 +134,9 @@ Authentication Configuration
 
     .. config:option:: allow_persistent_cookies :: Persistent cookies
 
-        Makes cookies persistent if ``true``. ::
+        When set to ``true``, CouchDB will set the Max-Age and Expires attributes
+        on the cookie, which causes user agents (like browsers) to preserve the cooki
+        over restarts. ::
 
             [couch_httpd_auth]
             allow_persistent_cookies = true