Page

I.5.6- VAR Tokens for the #echo Directive

  by NT Community Manager.
Last Updated  by NT Community Manager.  

PublicCategorized as Appendix I.

Not tagged.
<< I.5.5- TIMEFMT Tokens for the #config DirectiveAppendixII.6.0- The IISRESET Utility and Switches >>

VAR Tokens for the #echo Directive

Token

Description

AUTH_TYPE

The type of authentication that the client and server used if this page denied anonymous access, for example 'Basic' or 'NTLM' (i.e. Challenge/Response).

AUTH_PASSWORD

The password provided by the user to the server if this page denied anonymous access and the client authenticated using the Basic method.

AUTH_USER

The username provided by the user to the server if this page denied anonymous access, under both NTLM and Basic (or other) methods.

CONTENT_LENGTH

The number of bytes sent in the body of the request, i.e. the number of bytes sent as a POST to the server.

CONTENT_TYPE

The MIME type of the data sent as a POST in the body of the request.

DOCUMENT_NAME

The full physical path and filename of the document requested by the client.

DOCUMENT_URI

The full virtual path and filename of the document requested by the client, in relation to the root folder of this Web site.

DATE_GMT

The date and time set in the server's operating system, without any adjustment from Greenwich Mean Time.

DATE_LOCAL

The date and time set in the server's operating system after adjustment from Greenwich Mean Time.

GATEWAY_INTERFACE

The type of interface used to handle the request, for example 'CGI/1.1'.

 

Token

Description

HTTP_ACCEPT

A comma-delimited list of MIME types that the client application has notified the server that it can accept.

LAST_MODIFIED

The date and time when the file or resource requested by the client was last changed.

PATH_INFO

The full virtual path and filename of the document requested by the client, in relation to the root folder of this Web site.

PATH_TRANSLATED

The full physical path and filename of the document requested by the client.

QUERY_STRING

The value of any query string that was appended to the URL of the document or resource the client requested, after translation from the URL-encoded format.

QUERY_STRING_
UNESCAPED

The value of any query string that was appended to the URL of the document or resource the client requested, before translation from the URL-encoded format.

REMOTE_ADDR

The IP address of the client machine that requested the page.

REMOTE_HOST

The host name or IP address of the network from which the client requested the page.

REMOTE_USER

The name (if available) of the client machine that requested the page.

REQUEST_METHOD

The method used when requesting the page, either 'GET' or 'POST'.

SCRIPT_NAME

The full virtual path and filename of the document requested by the client, in relation to the root folder of the Web site.

SERVER_NAME

The network name or URL host name of the server that received the request.

SERVER_PORT

The number of the port on which the request was received, i.e. '80' for normal page requests and '443' for SSL secure requests.

SERVER_PORT_
SECURE

The port number if this request was over a secure protocol.

SERVER_PROTOCOL

The HTTP protocol that the request was passed under, i.e. 'HTTP/1.1'.

SERVER_SOFTWARE

The name/version string of the Web server, i.e. 'Microsoft-IIS/5.0'.

URL

The complete URL that the user specified when requesting the document or resource.

ALL_HTTP

All the name/value pairs for HTTP environment variables that are not included in the list above, for example HTTP_COOKIE and HTTP_ACCEPT_LANGUAGE.

<< I.5.5- TIMEFMT Tokens for the #config DirectiveAppendixII.6.0- The IISRESET Utility and Switches >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |