views:

479

answers:

4

What is the default session timeout value in ASP.NET?

+7  A: 

20 minutes.

Dante
+6  A: 

The default is 20 minutes.

ullmark
+14  A: 

default is 20 minutes but you can change in web.conifg

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

The machine.config can override the default value for the server's Session State, among others.

C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config

PS. ASP.NET v3.0 and v3.5 also use the v2.0.x machine config.

bendewey