Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

ASP Request Object

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

Syntax: ASP Request Object

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

ASP Request Object Collections

ASP Request Object Cookies Collection

The value of cookies sent in the HTTP request.

ASP Request Object Form Collection

The values of form elements sent in the HTTP request body.

ASP Request Object QueryString Collection

The value of variables in the HTTP query string.

ASP Request Object ServerVariables Collection

The value of predetermined environment variables.

Note

Due to widely differing Web-server support for client-side certificates, Sun Chili!Soft ASP does not implement the ClientCertificate collection.

ASP Request Object Properties

ASP Request Object TotalBytes Property

The total number of bytes the client is sending in the body of the request.

ASP Request Object Methods

ASP Request Object BinaryRead Method

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

Variable parameters are strings that identify the item to be retrieved from a collection or a value to be passed to a property or method. For more information about the variable parameter, see the individual collection descriptions. If the specified variable is not in one of the collections, the Request object returns EMPTY.

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

   QueryString

   Form

   Cookies

   ServerVariables

If the same variable exists in more than one collection, the first one encountered will be used. It is strongly recommended that you use the collection name. For example, instead of Request.(AUTH_USER) use Request.ServerVariables(AUTH_USER).

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.