You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hello people,
trying to implement a simple "change password" view this came out.
What's the best way to destroy session information for a user?
For example consider when the user changes its password. All session
data should be destroyed.
Thanks!
Mr. Gerardo Gonzalez Cruz
unread,
Mar 4, 2012, 3:03:04 PM3/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
You need check session always into your database to manage user sessions. When change a password you need a simple update over session table, then over every request in your site you need check if you password had a change, if yes the user session set a null. Basically you need polling to database on every request.