Question

I have very strange problem - CSRF cookie not set on some of clients browsers. What could it potentially be?

All needed middleware is enabled, and as I said above, problem appears only on very small count of machines, although another Django-powered sites work well there.

Was it helpful?

Solution

The problem didn't solved in usual way, so I refused from cookie-based CSRF-protection and get session-based instead: https://github.com/mozilla/django-session-csrf.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top