Fixed #18194 -- Expiration of file-based sessions

* Prevented stale session files from being loaded
* Added removal of stale session files in django-admin.py clearsessions

Thanks ej for the report, crodjer and Elvard for their inputs.
This commit is contained in:
Aymeric Augustin 2012-10-27 23:12:08 +02:00
parent 882c47cd40
commit 5fec97b9df
9 changed files with 176 additions and 29 deletions

View file

@ -1200,8 +1200,6 @@ clearsessions
Can be run as a cron job or directly to clean out expired sessions.
This is only supported by the database backend at the moment.
``django.contrib.sitemaps``
---------------------------