0

I noticed in Chrome web tools that even after i log out of my Django site, the user cookie still exists. Im assuming this is the anon user? There is not much in the django documentation about anon users. is there a way to disable this?

sidarcy
  • 2,958
  • 2
  • 36
  • 37

1 Answers1

1

After logging out, your session cookie is destroyed and its place is taken by anonymous session cookie. When you log back in again, this anonymous session cookie is replaced by your session cookie.

You don't really have to worry about it. However if you really want to disable that cookie, take a look at the following resources:

  1. This question on StackOverlow.
  2. Django-cookieless project on GitHub.
Community
  • 1
  • 1
xyres
  • 20,487
  • 3
  • 56
  • 85