asp.netsessioniishttp-redirectcookieless

Unable to create asp.net session on a cookieless web application


I have a cookieless web application based on asp.net 4.5.

<sessionState mode="InProc" cookieless="true" timeout="10"/>

I access this application from a redirection, by sending the session Id in the request:

GET /WebApp/(S(stbb3233i55s0quqxs40x))/default.aspx HTTP/1.1

for some reason unknown I can't create the asp.net session and got stucked in a redirect loop. Any thoughts about how to overcome this situation?.


Solution

  • Thanks to @AdrianWragg, I found it! The redirection was done through a reverse proxy but this server had an ISAPI filter that was removing the session Id from the request, after I removed the ISAPI filter everything worked just fine.

    Wrong ISAPI filter