问题描述:

We recently set up a series of sites such as sub1.ts.se, sub2.ts.se. We have wired them up with cross site authentication (asp.net mvc). Everything has worked as excpected. We have throughout the testing phase not ran into any issues, but as of launch, we are unable to login properly with IE.

In testphase we use the auth cookie domain .ts.se.production (wired up through local hosts-bindings). This worked just fine. Going live, changing it to .ts.se wich is the live domain name, it does not work. When changing it back to the ".production", it does work! This is the same webserver, nothing else changes.

Could this possibly be an issue related to the short domain name? I do know that IE have had issues with two letter domain historically.

Edit: The login error is that the auth cookie (wich does validate and set!) does not carry through subsequent requests/redirects, resulting in returning to the empty login screen.

网友答案:

From what I can gather, this IS an issue with IE and short domain names. We have resolved this by using a secondary (longer) domainname. Not a perfect solution, but works out good for us.

相关阅读:
Top