diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 8d7ea6adfb5..1fc9d2ff92f 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 f21c3a497e6..f5c688e2546 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 ===============================================