会话超时在Asp.net 4.0 IIS 7.5 [英] Session Time Out in Asp.net 4.0 on IIS 7.5

查看:293
本文介绍了会话超时在Asp.net 4.0 IIS 7.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要设置超时12小时我的Web应用程序。

I want to set timeout for my web application for 12 hours.

我已经照在web.config文件中设置:

I have done setting in web.config file as:

<system.web>
     <sessionState timeout="720" />
</system.web>

的建议在以下帖子


  • 我才知道,应用程序池在每20分钟循环利用(如果池是理想的)。

    我还检查了更改应用程序池超时使用有关的应用程序池超时设置

  • 不过还是会议超时未设置到720分钟。我是否需要修改的machine.config 文件修改会议超时。结果
    但我认为的machine.config 的属性文件应该由的web.config 文件被覆盖。

  • I came to know that the Application Pool recycles in every 20 minutes (if the pool is ideal).
    And I also checked for changing the application pool time out using one question about application pool timeout setting
  • But still the session time-out is not set to 720 minutes. Do I need to change machine.config file for changing the session time out.
    But I think the properties of machine.config file should be overriden by web.config file.

请提供我一些想法。

推荐答案

您可以尝试 WMI(Windows管理规范)脚本,它可以帮助you.You需要有足够的权限来执行剧本

You can try out WMI(Windows Management Instrumentation) script it can help you.You need to have sufficient priveleges to implement the Script.

follwing是链接,您可以检查以获取更多信息。

follwing are the links you can check to get more information.

http://bendera.blogspot.in/ 2010/12 /配置-ICA-RDP-超时values​​.html

http://technet.microsoft。 COM / EN-US /库/ cc771956%28V = ws.10%29.aspx

这篇关于会话超时在Asp.net 4.0 IIS 7.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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