ASP Multiple choices


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

Which ASP object is often used to retrieve user-information from forms?


 

 

 

 



B


Solution:-

ASP Request Object
To get information from a visitor we use the Request object in ASP.

When a browser asks for a page from a server, it is called a request. The Request object is used to get information from a visitor. Its collections, properties, and methods are described below:

Methods
BinaryRead - Retrieves the data sent to the server from the client as part of a post request and stores it in a safe array

Properties
TotalBytes - Returns the total number of bytes the client sent in the body of the request

Collections

  1. ClientCertificate - Contains all the field values stored in the client certificate
  2. Cookies - Contains all the cookie values sent in an HTTP request
  3. Form - Contains all the form (input) values from a form that uses the post method
  4. QueryString - Contains all the variable values in an HTTP query string
  5. ServerVariables - Contains all the server variable values



Next 5 multiple choice(s)

1

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?

2

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

3

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

4

How do you create a FileSystemObject?

5

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?

Comments