ASP Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - ASP

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


Solution:-

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
%>

 




Next 5 multiple choice(s)

1

In ASP, which command is used to retrieve a cookie value?

2

In ASP, which command is used to create a cookie?

3

How do you create a FileSystemObject?

4

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?

5

Which of these objects is NOT an ASP component?

Comments