Csrf Issue With Microsoft Edge And Ie11
I have a CSRF token issue that only occurs in MS Edge and IE11 - it works fine in Chrome, Firefox and even IE9. The problem only occurs when doing Http post via Ajax. It gives me H
Solution 1:
2 hours later, and I found the answer myself...
To those who might have the same issue with Microsoft Edge and IE11, the fix lies with the setting CSRF_COOKIE_DOMAIN.
I tried setting it like this:
CSRF_COOKIE_DOMAIN = "subdomain.domain.com"
However, that did not work, even though it was a subdomain site. Setting it like this works like a charm:
CSRF_COOKIE_DOMAIN = ".domain.com"
Post a Comment for "Csrf Issue With Microsoft Edge And Ie11"