I'm working on a website and begin debugging Internet Explorer recently. The authentication is made through an Ajax POST request to a PHP Zend action that check login/pass against the database and write a cookie if "Remember me" is triggered. JSON is sent back to Ajax with status code. (Good to go, warning, error etc...) And then something like this :
if( result.code == 0 ){
window.location.reload();
return false;
}
First, IE tried to dowload some file after login submit which contained the JSON response, so I've made few changes in headers in order to bypass that behavior.
But now, IE does nothing. I mean, Ajax's success function receives the good code (0) that say's everything is ok, it reloads the page, but still not logged in.
In our logs, Zend says everything is ok too.
Note : I've noticed that I could log in only when I check "Remember me" checkbox.
Where do you think that come from ? It's running well on other browsers and I'm going nuts.
EDIT 1 : No changes after adding P3P headers.