#21608: Logged out sessions are resurrected by concurrent requests ----------------------------------+------------------------------------- Reporter: jonasborgstrom | Owner: anonymous Type: Bug | Status: assigned Component: contrib.sessions | Version: 1.4 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 ----------------------------------+------------------------------------- Description changed by jnnt:
Old description: > 1. User logs in > 2. User loads a slow page in separate tab or as an ajax request > 3. User logs out before request in step 2 completes. This will delete the > session from the db > > == Expected behavior == > > User/session stays logged out since the user explicitly logged out and > the session row was delete in step 3. > > == Actual behavior == > > The previously deleted session is re-inserted into the database when the > request from step 2 completes. So the previously logged out user is now > logged in again. New description: 1. User logs in 2. User loads a slow page in separate tab or as an ajax request, which ''modifies'' the session 3. User logs out before request in step 2 completes. This will delete the session from the db == Expected behavior == User/session stays logged out since the user explicitly logged out and the session row was delete in step 3. == Actual behavior == The previously deleted session is re-inserted into the database when the request from step 2 completes. So the previously logged out user is now logged in again. -- -- Ticket URL: <https://code.djangoproject.com/ticket/21608#comment:12> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/072.55fc3e374c20444f52ca5f4dd8d99a07%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.