ASP Request Object

The Request object retrieves the values that the client browser passed to the server during an HTTP request. It is used to get information from the user. Using this object, you can dynamically create web pages and perform various server-side actions based on input from the user. The syntax, collections, properties and methods of the ASP Request object are as follows:

Syntax

Request[.collection|property|method](variable)

Collections

Collections Description
ClientCertificate The ClientCertificate collection provides access to the certification fields from a request issued by the web browser. Commonly, it is used when the client is requesting secure pages through SSL connection. Before using this collection, you must configure your Web server to request client certificates.
Cookies The Cookies collection allows you to retrieve the values of the cookies sent in an HTTP request.
Form The Form collection allows you to retrieve the data input into an HTML form posted to the HTTP request body by a form using the POST method.
QueryString The QueryString collection allows you to retrieve the values of the variables in the HTTP query string. For example, it parses the values sent by a form using the GET Method. The QueryString collection is less capable than the Form collection, since there is a limit to the amount of data that can be sent in the header of an HTTP request.
ServerVariables The ServerVariables collection contains the values of predefined environment variables plus all of the HTTP header values sent from the client browser to the web server.

Properties

Properties Description
TotalBytes The TotalBytes property is a read-only property that specifies the total number of bytes sent by the client in the HTTP request body. It is important when preparing to read data from the request body using the BinaryRead method of the Request object.

Methods

Methods Description
BinaryRead The BinaryRead method retrieves the data sent to the server from the client as part of a POST request and stores it in a SafeArray. A SafeArray is a special variant array that contains, in addition to its items, the number of dimensions in the array and the upper bounds of the array.
admin

admin

Leave a Reply

Your email address will not be published.