CSRF verfication failed, but only with IE9
问题 I have set up CSRF as described in the Django docs (using Django 1.3). It works with FF and Safari, but on IE9 I get <div id="summary"> <h1>Forbidden <span>(403)</span></h1> <p>CSRF verification failed. Request aborted.</p> </div> In the response headers of the Ajax request I find Set-Cookie csrftoken=8db3637951243ffb591e6b2d6998ed03; expires=Fri, 14-Sep-2012 08:01:52 GMT; Max-Age=31449600; Path=/ It works in IE9 when using it in a normal Form (i.e. no Ajax involved). I am using Django behind