如何使用3.5帧工作增加asp.net中的会话时间. [英] How to incress session time in asp.net with 3.5 frame work.
本文介绍了如何使用3.5帧工作增加asp.net中的会话时间.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过3.5帧工作增加asp.net中的会话时间.
How to incress session time in asp.net with 3.5 frame work.
推荐答案
增加Web.Config文件中的超时时间:
Increase the timeout in the Web.Config file:
<system.web>
<sessionState mode="InProc" timeout="30"></sessionState>
</system.web>
这会将您的Web应用程序的超时设置为30分钟.
This would set the timeout as 30 minutes for your web application.
您可以在不同的位置进行设置,因此这完全取决于您.请遵循以下讨论:
http://forums.asp. net/t/1283350.aspx/1?How + to +增加+ session + timeout + to + 8 + to + 9hrs + [
You can set it from different places so it''s all depend on you. Follow below discussion:
http://forums.asp.net/t/1283350.aspx/1?How+to+increase+session+timeout+to+8+to+9hrs+[^]
这篇关于如何使用3.5帧工作增加asp.net中的会话时间.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文