NET中的会话超时问题

NET中的会话超时问题

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

问题描述

我在asp.net中遇到会话超时问题,我正在使用idleTimeout jquery插件.
但是,此插入不会扩展用于弹出和注销的会话.此插件可以很好地用于主页.
在此先感谢.

I am facing Session Timeout issue in asp.net, I am using idleTimeout jquery plugin.
But this pluging is not extending session for popup and logging off. This pluging is working fine for main pages.
Thanks in Advance.

推荐答案

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


You can get to the setting by: Open IIS | Properties on Web Site | ASP.NET tab | Edit Configuration... (or Edit Global Configuration to change for more than one site) | State Management tab.

Here you will see a textfield with a label that says "Session timeout (minutes) with a default value of 20 minutes. 



这篇关于ASP.NET中的会话超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 03:42