Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and…

… browsers that persist sessions.

Thanks David Sanders.
  • Loading branch information...
commit fe5d9fe5fec2617b9eb8564df77ba5324834cadc 1 parent e044931
Tim Graham authored March 02, 2013

Showing 1 changed file with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. 10  docs/topics/http/sessions.txt
10  docs/topics/http/sessions.txt
@@ -474,6 +474,16 @@ This setting is a global default and can be overwritten at a per-session level
474 474
 by explicitly calling the :meth:`~backends.base.SessionBase.set_expiry` method
475 475
 of ``request.session`` as described above in `using sessions in views`_.
476 476
 
  477
+.. note::
  478
+
  479
+    Some browsers (Chrome, for example) provide settings that allow users to
  480
+    continue browsing sessions after closing and re-opening the browser. In
  481
+    some cases, this can interfere with the
  482
+    :setting:`SESSION_EXPIRE_AT_BROWSER_CLOSE` setting and prevent sessions
  483
+    from expiring on browser close. Please be aware of this while testing
  484
+    Django applications which have the
  485
+    :setting:`SESSION_EXPIRE_AT_BROWSER_CLOSE` setting enabled.
  486
+
477 487
 Clearing the session store
478 488
 ==========================
479 489
 

0 notes on commit fe5d9fe

Please sign in to comment.
Something went wrong with that request. Please try again.