Posted on: 3/16/2011 10:33:06 AM | Views : 270

Hi,
I have a web application that has been upgraded to .NET Framework 4.0 using VS2010. I am seeing strange behaviour regarding cookies in IE8. The application works fine when I run it locally in IE8. When I host the application on our Windows 2008 R2 server and view it using IE8, I cannot log in. I keep getting re-directed to the login page.
I have used Fiddler to inspect the headers. Using Firefox, Chrome or Safari, when I log in I can see both session and authentication cookies being set and passed to the page that is being re-directed to. However, when I request the page using IE8, I can see the authentication and session cookies are being set but the GET request for the page re-direction does not have any cookies attached and hence I am being re-directed to the login page again.
No code changes were made - it still uses FormsAuthentication.SetAuthCookie. I have tried changing security settings in IE8 and nothing seems to work.
I have been researc ...

Go to the complete details ...