[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
This commit is contained in:
Russell Keith-Magee 2010-05-06 01:36:42 +00:00
parent 760ed9987a
commit d034374ea8
1 changed files with 4 additions and 0 deletions

View File

@ -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