16.3. CGI applications with ASP
Although the Request object of ASP has only one function, it contains a number of collections, dedicated for CGI applications. The concept of a collection is similar to that of an array. It is a place to store strings, numbers, objects, and other variables with values. Unlike arrays, you can access the data of a collection through either indices or names. The first collection of the Request object that we are going to introduce is the ServerVariables collection.
16.3.1. Using server variables
Server variables are environment features from the server providing critical information if you want to develop server-specific applications. Some frequently used server variables are:
GATEWAY_INTERFACE
HTTP_HOST
QUERY_STRING ...
Get Practical Web Technologies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.