ASP » Session » Timeout

The Timeout property is the length of time in minutes before an idle session is terminated.

The Timeout property specifies the number of minutes that can elapse while a session is idle before it is terminated. The default is 20 minutes. If the user does not refresh the page or request another page within the allotted time, the session is automatically terminated and the resources are released.

The following code causes the session to terminate if the session is idle for more than 35 minutes.


<% Session.Timeout = 35 %>