I already asked this question, with no suitable answer and I get getting the same problem on random servers.
I have an ASP.NET 3.5 application that is deployed using the Setup Project (MSI) and works fine in 90% of the installations, but time to time I found a Windows 2008 Server that has this problem.
I have a simple test that sets a session variable and reads from it.
This never works on Internet Explorer and I do have cookies enabled (for Cookie Session), but:
if I change the url from
http://SERVER_NAME/APP_NAME/
to
http://localhost/APP_NAME/
or http://SERVER_IP/APP_NAME/
everything works!
And I can add that the SERVER_NAME is already in TRUSTED WEBSITES of IE
what can I do to fix this?
Seams, at first sight a DNS problem, but it's a intranet site, as long as the Server has a DNS Server, it should work fine out-of-the-box, correct?
I recreated this problem using HyperV and Windows 2008 R2
Any help is greatly appreciated.
I wonder if an existing cookie is messing with the session cookie. Try changing your sessionState settings to use a different cookie name and see if that helps. And/or clear your cookies and restart the browser. Also try removing it from the Intranet zone to prove whether or not it's from that.
Do you get the same with all browsers? I guess if it's not IE you won't be in the Intranet zone so different browsers will probably have different results.