Request Object

The Request object retrieves the values that the client browser passed to the server during an HTTP request.

Syntax

Request[.Collection](variable)

Collections

ClientCertificate

The values of fields stored in the client certificate that is sent in the HTTP request.

Cookies

The values of cookies sent in the HTTP request.

Form

The values of form elements in the HTTP request body.

QueryString

The values of variables in the HTTP query string.

ServerVariables

The values of predetermined environment variables.

For more information about the variable parameter, see the collection descriptions.

Remarks

If the specified variable is not in one of the preceding four collections, the Request object returns EMPTY.

All variables can be accessed directly by using calling Request(variable) without the collection name. In this case, the Web server searches the collections in the following order.

  1. QueryString

  2. Form

  3. Cookies

  4. ServerVariables

  5. ClientCertificate

If a variable with the same name exists in more than one collection, the Request object returns the first instance that the object encounters.

See Also

Request Object