Deleting sessions without Request object
Is it possible to log out a user manually? The desired result is that after I do this, the user will be forced to log in again. I will not have an active Request object (ie, this will be done from the admin app or a management command, not a view).
Can I simply add the Session table to the admin app and manually delete a user's entry?
Thanks,
Greg
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home