django1/django/contrib/sessions
Malcolm Tredinnick 5e8efa9a60 Implemented a flush() method on sessions that cleans out the session and
regenerates the key. Used to ensure the caller gets a fresh session at logout,
for example.

Based on a patch from mrts. Refs #7515.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-14 03:57:46 +00:00
..
backends Implemented a flush() method on sessions that cleans out the session and 2008-08-14 03:57:46 +00:00
__init__.py MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. 2006-05-02 01:31:56 +00:00
middleware.py Removed TEST_COOKIE_NAME and TEST_COOKIE_VALUE constants from 2008-07-30 21:55:47 +00:00
models.py Fixed #7919 -- md5 and sha modules are deprecated since Python 2.5, use hashlib module when available. Patch from Karen Tracey. 2008-08-02 05:56:57 +00:00
tests.py Implemented a flush() method on sessions that cleans out the session and 2008-08-14 03:57:46 +00:00