Session cookie lost since IE7

I have an ASP.NET 2.0 application. On successful login, the login page is redirected twice. This works fine on all test environments and production servers except one. We can see from Fiddler that the login is redirected to the second page and redirected to the third. On going to the third page, the authentication cookie is lost and the page is redirected back to the login. As mentioned, this only happens on one production server running IE7. It works great if we try IE7 from the server itself. It only fails from other client machines. It works great if I just try the same from FireFox. I can clearly see the fiddler that the cookie is not lost in this case.

Any ideas?

0


source to share


4 answers


Domain name cookie set? Does your URL contain the domain name when viewed?

The "localhost" cookie doesn't really work like domain-set cookies and can disappear a lot.



HttpCookie contains the domain parameter to install.

0


source


This is a long shot, but does it have a server name in it? A while ago there was an IE bug where it could not save cookies with the server name / url that had an underscore in it, so if I were to access the server with http: // server_name I was unable to save the file cookie, but accessing it via http: // intranetdnsalias will work fine.



+2


source


It looks like an IIS configuration issue. Have you tried to recreate the site on this server with default settings?

0


source


Are the dates constant? eg 09/10/2008 == 10/09/2008 if the locale is wrong. So if you set a specific expiration date, that might interpret it as en-US, but you need en-NZ or whatever.

Or you could set it as UTC date but computer ie UTC + 8 so that it expires quickly?

0


source







All Articles