summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-03-02 10:11:23 -0500
committerTim Graham <timograham@gmail.com>2013-03-02 10:13:17 -0500
commit142728277a9be9a16e7e87086fbcd95041ae4071 (patch)
treee994acab550a4938c082ece7cf3ec705592d0844
parentd43dfdf4b965bb77edb4631c3710fa423b722b93 (diff)
[1.5.x] Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and browsers that persist sessions.
Thanks David Sanders. Backport of fe5d9fe5fe from master
-rw-r--r--docs/topics/http/sessions.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
index dac146bf3e..03692fb1fd 100644
--- a/docs/topics/http/sessions.txt
+++ b/docs/topics/http/sessions.txt
@@ -474,6 +474,16 @@ This setting is a global default and can be overwritten at a per-session level
by explicitly calling the :meth:`~backends.base.SessionBase.set_expiry` method
of ``request.session`` as described above in `using sessions in views`_.
+.. note::
+
+ Some browsers (Chrome, for example) provide settings that allow users to
+ continue browsing sessions after closing and re-opening the browser. In
+ some cases, this can interfere with the
+ :setting:`SESSION_EXPIRE_AT_BROWSER_CLOSE` setting and prevent sessions
+ from expiring on browser close. Please be aware of this while testing
+ Django applications which have the
+ :setting:`SESSION_EXPIRE_AT_BROWSER_CLOSE` setting enabled.
+
Clearing the session store
==========================