The ASP Request object retrieves the values that the client browser passes to the web server during an HTTP request. The main purpose is to retrieve information from the web client.
This object is very useful in collecting information that is used in server-side processing. The collections, properties, and methods of the ASP Request object are as follows:
|Contains all the field values stored in the client certificate. You must configure your web server to request client certificates.|
|Contains all the cookie values sent in an HTTP request|
|Contains all the input values from a form that is sent to the server using the post method.|
|Contains all the variable values in an HTTP query string.|
|Contains all the predefined environment server variables.|
|A read-only property that specifies the total number of bytes sent by the client in the HTTP request body.|
|Retrieves the data sent to the server from the client as part of a post request and stores it in a safe array.|
Here is a listing of some examples regarding the use of the Response Object and its collections, methods, and properties.
<% Request.Cookies("userName") Request.Form("firstName") Request.QueryString("lastName") Request.ServerVariables("remote_addr") totalB=Request.TotalBytes Request.BinaryRead(totalB) %>