O'Reilly logo

Practical Web Technologies by V. Lau, P. K. Yuen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required