会话即将过期 [英] session is being expired

查看:63
本文介绍了会话即将过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Web应用程序,如果即时消息未发布并将其放到服务器中,则工作正常,但是如果我发布该应用程序并放到服务器上,则该会话在每次回发中均已过期,这意味着如果我单击任何按钮,我的会话将过期,这仅在我发布应用程序时才发生,任何人都知道如何解决此问题?

i have web application it is working fine if i m not publishing and putting it into server it is working fine but if i publish that application and den put on server the session is being expired on each post back means if i click on any button my session expires it is only happening when i publish the application any body have idea how to solve this issue??

推荐答案

多年以来,我的管理员建立了一个服务器名称中带有下划线(_).这导致了会话期满问题.这是一个IIS错误.这可能不是您的问题.您可能要检查的另一件事是应用程序池.请确保未启用网络园艺". Web Gardening允许多个工作进程,这些工作进程需要特殊的会话处理.
Years along, my admin built a sever that had a underscore (_) in its name. This resulted in the problem of session expiration. It was an IIS bug. This might not be your issue. Another thing you may check is the application pool. Please make sure that "Web Gardening" is not enabled. Web Gardening allows multiple worker processes which required a special handling for session.


这篇关于会话即将过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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