I have an ASP .NET website that uses cookieless sessions. When the initial request is made to the site using a url such as:
http://localhost/site
IE just displays the standard "Internet Explorer cannot display the webpage" message. Firefox is a bit more helpful and displays the following message:
"Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."
I put some tracing into global.asax and I get into the application start event but not into the session start event.
I have not explictly blocked any cookies with the browsers and have not setup any http redirect rules either.
The site works fine with my development server and under IIS6.
If I switch off cookieless sessions then everything is fine in IIS7.
I can reproduce this with the simplest of websites, i.e. in Visual Studio, File > New Website and then just set the cookieless="true" web.config setting.
I have tested this on a colleauges workstation and it works, so I am guessing it is some setting in IIS7 somewhere.
Any ideas?