I have a site that I am using cookies to manage the login and subsequent data accessibility. The problem is that once I upload the files to GoDaddy the cookies break.
I used Fiddler to see where they broke but for the life of me cant figure out why, other than possible cookie handling differences between GoDaddy's IIS7 and my test servers IIS5.1.
Basically the login/validation goes as follows:
- Login form
- Validation against username
- Cookie generated based on username
- Protection page loads to log successful login into db
- db entry is successful
- Cookie fails
- Failed redirect to dashboard w/data
Using Fiddler I can see that the cookie breaks at the protected file, step 3. Its present at the time the page loads but then disappears by the end. Looking at the differences between the GoDaddy server and the test server loads I see that after the ASPSESSIONIDSCDCARDD=BGPPNHAABNHFPGBEAAAMOLEB GoDaddy cuts off where the test server passes the complete cookie information.
Any ideas?