please dont rip this site

HTTP Variables

Several variables in HTML extension files can give a lot of information about the environment and Web client connected to the server. In addition, all headers sent by the client are available. For Index Server to access these headers, you must convert them:

  1. Add HTTP_ to the beginning
  2. Convert all dashes to underscores.
  3. Convert all letters to uppercase.

The following list gives a listing of default variables.

ALL_HTTP
All HTTP headers that were not already parsed into one of the listed variables. These variables are of the form HTTP_header field name with successive variables separated by a new line character, for example:
HTTP_ACCEPT: */*, q=0.300, audio/x-aiff, audio/basic, image/jpeg, image/gif, text/plain, text/html
HTTP_USER_AGENT: Microsoft Internet Explorer/0.1 (Win32)
HTTP_REFERER: http://webserver/samples/dbsamp/dbsamp3.htm
HTTP_CONTENT_TYPE: application/x-www-form-urlenPRE: 10
HTTP_EXTENSION: Security/Digest
AUTH_TYPE
The type of authorization in use. If the user name has been authenticated by the server, this will contain Basic. Otherwise, it will not be present.
CONTENT_LENGTH
The number of bytes that the script can expect to receive from the client.

CONTENT_TYPE
The content type of the information supplied in the body of a POST request.

GATEWAY_INTERFACE
The revision of the CGI (Common Gateway Interface) specification with which this server complies. The current version is CGI/1.1.
HTTP_ACCEPT
Special-case HTTP header. Values of the Accept: fields are concatenated, separated by “, ”; for example, if the following lines are part of the HTTP header: accept: */*; q=0.1 accept: text/html accept: image/jpeg then the HTTP_ACCEPT variable will have a value of: */*; q=0.1, text/html, image/jpeg.

PATH_INFO
Additional path information, as given by the client. This comprises the trailing part of the URL after the script name but before the query string (if any).

PATH_TRANSLATED
This is the value of PATH_INFO, but with any virtual path name expanded into a directory specification.

QUERY_STRING
The information that follows the question mark (?) in the URL that referenced this script.

REMOTE_ADDR
The IP address of the client.

REMOTE_HOST
The hostname of the client.

REMOTE_USER
This contains the user name supplied by the client and authenticated by the server.

REQUEST_METHOD
The HTTP request method.

SCRIPT_NAME
The name of the script program being run.

SERVER_NAME
The server’s hostname (or IP address) as it should appear in self-referencing URLs.

SERVER_PORT
The TCP/IP port on which the request was received.

SERVER_PROTOCOL
The name and version of the information-retrieval protocol relating to this request, usually HTTP/1.0.

SERVER_SOFTWARE
The name and version of the Web server under which the Internet Server Extension is running.

© 1997 by Microsoft Corporation. All rights reserved.


file: /Techref/language/asp/ix/ixhtxhtp.htm, 4KB, , updated: 1997/9/29 02:23, local time: 2024/12/28 14:24,
TOP NEW HELP FIND: 
3.15.10.104:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/techref/language/asp/ix/ixhtxhtp.htm"> Microsoft Index Server: HTTP Variables</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .