1

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

4

2 回答 2

1

感谢@AdrianWragg,我找到了!重定向是通过反向代理完成的,但是该服务器有一个 ISAPI 过滤器,它正在从请求中删除会话 ID,在我删除 ISAPI 过滤器后一切正常。

错误的 ISAPI 过滤器

于 2015-07-15T13:28:47.057 回答
-1

您可以尝试将web.config中的配置更改为:

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

?

于 2015-07-15T13:03:25.947 回答