The session is a model in Django - so you can delete it like any other - x=request.session x.delete()
There's also the daily_cleanup.py script included with Django that just goes straight to the database: http://code.djangoproject.com/browser/django/trunk/django/bin/daily_cleanup.py -joe On 5/23/07, Ramashish Baranwal <[EMAIL PROTECTED]> wrote: > > Hi, > > How can I delete the session of a request? The docs speak about using > session as a dict and setting and removing specific keys on that, but > I want to remove the session itself, something like del request.session > > Any ideas? > > Thanks in advance, > Ram > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---