会话超时经典ASP网站 [英] Session Timeout in Classic ASP website

查看:222
本文介绍了会话超时经典ASP网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里传统的ASP存储会话超时值?我已经通过code看了看,这个传统的ASP网站没有使用Global.asa中(所以没有的Session_OnStart)或查看Session.Timeout = X。该网站上的IIS 7.On IIS托管本网站,在功能视图中,双击ASP - >会话属性 - >启用会话设置为真和超时值设置为20。现在的问题是:尽管会话超时设置为20分钟。在IIS上,它乘以5分钟后出来。是否有任何其他方式/地方修改这个传统的ASP网站会话超时值?

Where does classic ASP store the value for session timeout? I have looked through the code and this classic ASP website isn't using Global.asa(so no "Session_OnStart") or Session.timeout=x. The website is hosted on IIS 7.On IIS for this website,in Features view,double-clicking on "ASP" -> Session Properties -> Enable session is set to 'True' and the Time-out value is set to 20. The problem is: though the session time-out is set to 20 mins. on IIS,it times out after 5 minutes. Is there any other way/place to modify the session timeout value for this classic ASP website?

有人可以帮我这个好吗?

Can someone help me with this please?

编辑:我看了看应用程序pool.The空闲超时时间设置为20分钟。和Recycling->固定的时间间隔设置为1740。

I looked at the settings for the application pool.The Idle time-out is 20 mins. and Recycling->Regular Time Interval is set to 1740.

推荐答案

这是我的意见继,您的回收设置需要设置像下面的图片,以确保应用程序池不会被重置。

Following on from my comments, your Recycling settings need to be set like the following image to make sure the Application Pool will not be reset.

这也是值得设置生成回收事件日志条目,所以你可以看到什么事件导致您的应用程序池复位。这样,你可以监视它在事件查看器。

It's also worth setting the "Generate Recycle Event log Entry" so you can see what events are causing your Application Pool to reset. That way you can monitor it in the Event Viewer.

  • Why is the IIS default app pool recycle set to 1740 minutes? (Saturday, April 6, 2013)

这篇关于会话超时经典ASP网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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