登录后在Asp.net中的会话超时代码 [英] Session Timeout Code In Asp.net After Login

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

问题描述

会话超时代码在Asp.net登录后,代码会话超时一段时间

Session Timeout Code In Asp.net After Login ,Code For Session Time out After Some Time

推荐答案

您可以设置会话超时一段时间内通过 HttpSessionState.Timeout Property [ ^ ]。

You can set the Session Timeout to some time by HttpSessionState.Timeout Property[^].
Quote:

获取并设置金额会话状态提供程序终止会话之前允许的请求之间的时间,以分钟为单位。

Gets and sets the amount of time, in minutes, allowed between requests before the session-state provider terminates the session.


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

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