views:

45

answers:

4

Wat is the default value for session timout? And how and where can I set the timeout value for session??? Plz, tell me in detail

+1  A: 

In the web.config.

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

The default is 20 minutes.

Andy West
A: 

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

Yuriy Faktorovich
A: 

in the web.config --> system.web section, you need to specify in mintuus, like...

<sessionState timeout="20"></sessionState>
Muhammad Akhtar
+1  A: 

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

RSK