Working on a Django project deployed on AWS. In production, I'm facing a session-related issue: When I open the Django admin site (/admin) and log in, everything works smoothly. But if I open the user site (/) in the same browser window and log in there, the admin gets logged out — which is expected behavior, so no complaints there. But here's the twist: Even after closing the user site tab, when I go back to the admin site and log in again, Django lets me into the admin dashboard — only to forget me immediately. Every time I try to do literally anything (open a model, add a record, even breathe)... Django hits me with: “Oh hey just checking — who are you again?” Then it redirects me right back to the login page. I log in. I click something. Back to login. I log in again. I blink. Login page. Again. It’s like Django has the memory of a goldfish . Continue reading...