I am learning asp.net mvc 2, it is very excting with me.
I created a small MVC2 application, it works fine in the ASP.net Development Server that built it. However, when deploying to IIS 7.5, Window Server 2008 R2 Enterprise, there is something wrong. The awlays session is null when I access the application through IE and use the hostname to specify the URL.
Using IE (IE 7 or IE8) to access my application with the link http: // localhost / or ipaddress => every working tone
But when I use IE (IE 7 or IE8) to access my application with the link http: / hostname / => session always null
I am surprised while FireFox works fine in all cases, both from the built-in ASP.net Development Server, and for the IIS server, both with host names, and with ip and localhost.
I really appreciate your advice!
thank
source
share