Quantcast
Channel: Why deleting session record in django server cache doesn't make me logout? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by sp1rs for Why deleting session record in django server cache doesn't make me logout?

$
0
0

As of Django 1.8 or newer, any call to flush() will log out the user. From the docs:

If you check django logout functionality, it uses flush() to logout user instead of deleting it. Here is the link


Viewing all articles
Browse latest Browse all 2

Trending Articles