On Thu, 2008-11-20 at 14:06 -0800, Bobby Roberts wrote:
> is there a way to kill a session rather than running a del statement
> on each session variable?  I know in .asp you can simply say
> session.abandon.  Is there an equivalent with django?

Django has this really nifty feature (I believe ASP.NET has it too)
called "documentation". If you look at the documentation for the
sessions application, there's this section:

http://docs.djangoproject.com/en/dev/topics/http/sessions/#using-sessions-in-views

Have a look at the flush() method; I believe that might well be close to
what you are after.

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to