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



Question:

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


Solution:1

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

<sessionState timeout="20"></sessionState>  


Solution:2

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.


Solution:3

20 minutes.


Solution:4

The default is 20 minutes.


Solution:5

the default timeout is 20 minutes


Solution:6

  1. The Default Expiration Period for Session is 20 Minutes.
  2. The Default Expiration Period for Cookie is 30 Minutes.
  3. Maximum Size of ViewState is 25% of Page Size

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »