The ASP Session.Timeout Property is used for setting or returning the amount of timeout interval for the session in the Application. The default timeout period is 20 minutes. The session will automatically end if the user does not refresh and not send any request for a page within a timeout period.
Property Value :
- nMinutes: It specifies the number of minutes for which the session remains idle.
<% response.write("<p>") response.write("The initial Timeout is: " & Session.Timeout) response.write("</p>") Session.Timeout=35 response.write("<p>") response.write("Now the Timeout is set to now: " & Session.Timeout) response.write("</p>") %>
Initial Timeout is: 20 Now the Timeout is set to: 35
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.