的sessionState超时工作不 [英] sessionState time out not working

查看:118
本文介绍了的sessionState超时工作不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了sesstionstate超时为60,即1小时。但是,用户仍然会得到20分钟后过期消息。

我们使用Windows Server 2008来承载asp.net应用程序。任何人都可以请告诉我为什么能在20分钟会话过期吗?

我使用的是Windows身份验证。下面是我的web配置:

 <的sessionState超时=60/>
 

解决方案

检查IIS会话量。它可以是从.NET会话量而变化。

配置会话超时(IIS 7)
另请参见这个问题

  

默认情况下,会话过期时用户没有请求或刷新ASP应用程序页面20分钟

I've set the sesstionstate time out to be 60 i.e. 1 hour. But, users are still getting session expired messages after 20min.

we are using Windows Server 2008 to host the asp.net application. could anyone please tell me why could session expire in 20min please?

I'm using windows authentication. below is my web config:

<sessionState  timeout="60" />

解决方案

Check the IIS Session amount. It can be vary from the .NET session amount.

Configure Session Time-out (IIS 7)
See also this question

By default, the session expires when the user has not requested or refreshed a page in the ASP application for 20 minutes

这篇关于的sessionState超时工作不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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