summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt2
-rw-r--r--docs/topics/http/sessions.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 8d7ea6adfb..1fc9d2ff92 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -2372,7 +2372,7 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE
Default: ``False``
Whether to expire the session when the user closes his or her browser. See
-"Browser-length sessions vs. persistent sessions" above.
+:ref:`browser-length-vs-persistent-sessions`.
.. setting:: SESSION_FILE_PATH
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
index f21c3a497e..f5c688e254 100644
--- a/docs/topics/http/sessions.txt
+++ b/docs/topics/http/sessions.txt
@@ -453,6 +453,8 @@ session cookie is sent.
.. versionchanged:: 1.5
The session is not saved if the response's status code is 500.
+.. _browser-length-vs-persistent-sessions:
+
Browser-length sessions vs. persistent sessions
===============================================