On May 23, 10:18 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
> 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_c...
>

Thanks Joe, but thats not working. I'm getting the following error-

AttributeError
'SessionWrapper' object has no attribute 'delete'
Exception Type:         AttributeError
Exception Value:        'SessionWrapper' object has no attribute 'delete'

-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
-~----------~----~----~----~------~----~------~--~---

Reply via email to