On 1/8/06, John Martin <[EMAIL PROTECTED]> wrote:
> Is there any notion of creating or disposing of a session, further than
> simply removing the user key from the current session (as is done in
> the default auth implementation)? I have items (other than the user) in
> the session that I don't want carried through logout/login sequences,
> and I'm wondering when and how to get rid of them.
Hey John,
Deleting an object from a session is simple:
del request.session['foo']
Hope this answers your question.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org