Django CSRF cookie not installed in multiple browsers

I have a very strange problem - CSRF cookie is not set on some client browsers. What could it be?

All the necessary middleware is included, and, as I said above, the problem only occurs on a very small number of computers, although other sites running on Django work well there.

+4
source share
1 answer

The problem was not resolved in the usual way, so I rejected cookie-based CSRF protection and instead got a session: https://github.com/mozilla/django-session-csrf .

+2
source

All Articles