asp.net - session 在 Firefox 中的通用处理程序 .ashx 中不起作用

标签 asp.net firefox session ashx

我创建了实现 IRequiresSessionState 的 .ashx,因此我可以在该 ashx 中创建 session 变量,它在 IE 中有效,但在 Firefox 中无效。 当从其他页面访问此 session 变量时,它是 NULL。

有什么想法吗?谢谢。

最佳答案

也许您不允许在 Firefox 中使用 cookie。检查一下!如果您不想启用 cookie,请启用无 cookie session 。

关于asp.net - session 在 Firefox 中的通用处理程序 .ashx 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2729825/

相关文章:

c# - 在 64 位操作系统上的 32 位应用程序池中运行我的网站

.net - ASP.NET 服务器端标记与基于 JavaScript 的 UI 和 REST

asp.net - mod_mono : Random CompilationException errors

c# - 向 Firefox 发送纯文本

linux - xmonad xmodmap 将选项卡更改为 alt gr 但它不适用于 firefox 或 Thunderbird

ajax - Tomcat 为每个请求创建一个新 session

javascript - 使用 OnBeforeUnload 事件刷新浏览器

c# - 如何在基于 ASP.NET 的服务器中查询 SingleResult 对象?

asp.net - 如果使用 ASP.NET 和 RedisSessionStateProvider, session 何时序列化和反序列化?

python - Selenium 中的旋转代理