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
QueryString The values of variables in the HTTP query string.
ServerVariables The values of predetermined environment variables.


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, eMill searches the collections in the following order.

  1. QueryString
  2. 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 is used. For example, rather than Request.(SERVER_NAME) use Request.ServerVariables(SERVER_NAME). This will allow the server to locate the item more quickly.

See Also

Response Object



©2001-2015 eMill. All trademarks property of their owners.