ASP.NET中的会话超时问题 [英] Session Timeout Issue in asp.net

查看:73
本文介绍了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.

推荐答案

我建​​议在web.config级别将其定义为:

I would recommend to define at web.config level as:

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


您可以在Web服务器IIS级别上执行以下操作:

You can do at web server IIS level as:

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. 


您好..

尝试访问此链接 [
Hi there..

Try visiting this link[^]..

This will help you..
All the best..


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

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