Saturday, August 9, 2008

Retrieving Environment Variables

Sometimes, you come to a point in your server script development work when you want to find out the browser type. The IP address of the user, some HTTP headers that are delivered from the client or the version of the server software, and where your script is running. For all these demands, you can use the server variables collection of the request object.

Although the most important environment variables are described in this hour’s lesson, it is a good idea to look in the product documentation on the Internet Information of the internet Server (IIS) to get an overview of all possible parameters that can be used to retrieve environment variables. You can read the documentation by calling the address

http:// location/iisHelp/iis/misc/default.asp in the Internet Explorer.

No comments: