From d034374ea89d727b2d15d6a29618a0fdd77182b6 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 6 May 2010 01:36:42 +0000 Subject: [PATCH] [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 --- docs/topics/http/sessions.txt | 4 ++++ 1 file changed, 4 insertions(+) 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