summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-05-06 01:36:42 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-05-06 01:36:42 +0000
commitd034374ea89d727b2d15d6a29618a0fdd77182b6 (patch)
tree0d9f9fa524f4886bc1f8be49fc103481d02db3e2
parent760ed9987a2fe6c990cba8e61e328e49ae64bf4e (diff)
[1.1.X] Fixed #8357 -- Clarified what constitutes activity when calculating session expiry. Thanks to timo for the patch.
Backport of r13113 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/topics/http/sessions.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
index 75fe49208c..e5ff3fb965 100644
--- a/docs/topics/http/sessions.txt
+++ b/docs/topics/http/sessions.txt
@@ -189,6 +189,10 @@ It also has these methods:
* If ``value`` is ``None``, the session reverts to using the global
session expiry policy.
+ Reading a session is not considered activity for expiration
+ purposes. Session expiration is computed from the last time the
+ session was *modified*.
+
* ``get_expiry_age()``
.. versionadded:: 1.0