I access this application from " /> I access this application from " /> I access this application from "/>

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

1k Views Asked by At

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?.

2

There are 2 best solutions below

0
DanielV On BEST ANSWER

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

4
Juanito On

Can you try to change your configuration in the web.config to:

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

?