From 2c27300f343df2bae0db0f4c3594e5ae5b0b219f Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Thu, 4 Apr 2013 18:12:12 +0200 Subject: [PATCH] Fix #20195: wrong reference in session settings documentation. --- docs/ref/settings.txt | 2 +- docs/topics/http/sessions.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 ===============================================