[This is preliminary documentation and subject to change]

## Request Object

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

###### Syntax

Request[.collection|property|method](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.

###### Properties

TotalBytes | Read-only; specifies the total number of bytes the client is sending in the body of the request.

###### Methods

BinaryRead | Retrieves data sent to the server from the client as part of a POST request.

Variable parameters are strings that specify the item to be retrieved from a collection or to be used as input for a method or property. For more information about the variable parameter, see the individual collection descriptions.

###### Remarks

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

All variables can be accessed directly by 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. ClientCertificate
5. ServerVariables

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

It is strongly recommended that when referring to members of a collection the full name be used. For example, rather than Request.(AUTH_USER) use Request.ServerVariables(AUTH_USER). This will allow the server to locate the item more quickly.

###### See Also

Response Object

© 1997-2001 Microsoft Corporation. All rights reserved.