开发者

How to set Timeout value for Session

开发者 https://www.devze.com 2022-12-14 20:09 出处:网络
Wat is the default value for session timout? And how and where can I set the timeout value for sess开发者_JAVA技巧ion??? Plz, tell me in detaildefault 20 minutes which is reset with each request

Wat is the default value for session timout? And how and where can I set the timeout value for sess开发者_JAVA技巧ion??? Plz, tell me in detail


default 20 minutes which is reset with each request

Include this in you web.config file:

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

REad this forum for more:

http://forums.asp.net/t/1283350.aspx


In the web.config.

<sessionState timeout="number of minutes" ...>
    <providers>...</providers>
</sessionState>

The default is 20 minutes.


The default value is 20 minutes. You can set it in the sessionState's timeout attribute.

0

精彩评论

暂无评论...
验证码 换一张
取 消