Search code examples
djangodjango-admindjango-allauth

Why my su account logout automatically?


My django website has been deployed and I was signed in my su account but today when I wrote my blog,I found that my su account has logouted automatically,(I didn't sign out)please tell me why and what happened?


Solution

  • If you use the default django authentication(session authentication), your login status is depend on your cookies(stored in browser).You can have a look at Can two different browser share one cookie?.

    Every browser maintains it's own cookies. So in general, no this is not possible.

    So, it's fine.