无法对Cookie的Web应用程序创建asp.net会议上 [英] Unable to create asp.net session on a cookieless web application

查看:177
本文介绍了无法对Cookie的Web应用程序创建asp.net会议上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于asp.net 4.5中的无Cookie Web应用程序。

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

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

我从重定向访问此应用程序,通过在请求发送会话ID:

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

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

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

由于某种原因不明,我不能创造asp.net会话和重定向循环得到了被卡住。如何克服这种情况有什么想法?

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

推荐答案

感谢@AdrianWragg,我找到了!
重定向是通过一个反向代理完成,但该服务器已经被从请求删除会话ID ISAPI筛选器之后,我删除了ISAPI筛选器的一切工作就好了。

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.

这篇关于无法对Cookie的Web应用程序创建asp.net会议上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆