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

Answer by sp1rs for Why deleting session record in django server cache...

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

View Article



Why deleting session record in django server cache doesn't make me logout?

I store session in redis cache SESSION_ENGINE = "django.contrib.sessions.backends.cache" SESSION_CACHE_ALIAS = "default" I delete the record from cache, the key is...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images