A session ends if a user has not requested or refreshed a page in the application for a specified period. How long is this period - by default?
A session ends if a user has not requested or refreshed a web page in the application for a specified period of time. By default, the session time is 20 minutes.
If you want to set a timeout interval that is shorter or longer than the default, use the Timeout property.
The example below sets a timeout interval of 10 minutes:
<% Session.Timeout=10 %>
Use the Abandon method to end a session immediately:
<% Session.Abandon %>
In ASP, which command is used to retrieve a cookie value?
In ASP, which command is used to create a cookie?
How do you create a FileSystemObject?
ASP comes with a standard component that displays a different advertisement each time a user enters or refreshes a page, what is the name of this component?
Which of these objects is NOT an ASP component?