Knowledge Base

How to Use the IIS HTTP Environment Variable

Article ID: 155706

Article Last Modified on 6/23/2005


APPLIES TO


This article was previously published under Q155706
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SUMMARY

You should know how to use the Internet Database Connector (IDC) in order to use the HTTP environment variables. These variables are returned to a HTX file or can be used as variables in the IDC SQLStatement: command line.

MORE INFORMATION

Syntax

Below is the proper syntax for the available variables. This requires the use of .HTM, .IDC, and .HTX files.

The HTM document should contain a FORM with a Submit button. The Action should launch the .IDC file and its Method equal to POST.

The IDC file, for this purpose, should be fully functional. However, it does not have to return any data from your DSN. In addition, this is where you place the reference for the HTX file.

The HTX file is where you will place the variables.

Variable Format

The use of these variable are a little different or cannot be used depending on the version of Internet Information Server (IIS) you are using. All variables must be in upper case.

The variables format are as follows:

These tags are running from IIS 1.0c and IIS 2.0 unless otherwise noted.

Additional query words: iis http

Keywords: kbenv kbhowto KB155706