home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / MS_DEV / VID / SERVER / ASF / DATA.Z / srvvar.asp < prev    next >
Text File  |  1996-09-20  |  5KB  |  25 lines

  1. <TABLE BORDER=1>
  2. <TR>
  3. <TD VALIGN=TOP>Variable<TD VALIGN=TOP>Description<TD VALIGN=TOP>Value
  4. <TR>
  5. <TR><TD VALIGN=TOP>ALL_HTTP    <TD VALIGN=TOP>As per ISAPI, all HTTP headers that were not already parsed into one of the above variables. These variables are of the form HTTP_<header field name>.<TD VALIGN=TOP><%= Request.ServerVariables("ALL_HTTP") %>
  6. <!-- <TR><TD VALIGN=TOP>AUTH_PASS    <TD VALIGN=TOP>The password corresponding to REMOTE_USER as supplied by the client. <TD VALIGN=TOP><%= Request.ServerVariables("AUTH_PASS") %> -->
  7. <TR><TD VALIGN=TOP>AUTH_TYPE    <TD VALIGN=TOP>If the server supports user authentication, and the script is protected, this is the protocol-specific authentication method used to validate the user.<TD VALIGN=TOP><%= Request.ServerVariables("AUTH_TYPE") %>
  8. <TR><TD VALIGN=TOP>CONTENT_LENGTH    <TD VALIGN=TOP>The length of the said content as given by the client. <TD VALIGN=TOP><%= Request.ServerVariables("CONTENT_LENGTH") %>
  9. <TR><TD VALIGN=TOP>CONTENT_TYPE    <TD VALIGN=TOP>For queries which have attached information, such as HTTP POST and PUT, this is the content type of the data. <TD VALIGN=TOP><%= Request.ServerVariables("CONTENT_TYPE") %>
  10. <TR><TD VALIGN=TOP>GATEWAY_INTERFACE    <TD VALIGN=TOP>The revision of the CGI specification to which this server complies. Format: CGI/revision<TD VALIGN=TOP><%= Request.ServerVariables("GATEWAY_INTERFACE") %>
  11. <TR><TD VALIGN=TOP>PATH_INFO    <TD VALIGN=TOP>The extra path information, as given by the client. In other words, scripts can be accessed by their virtual pathname, followed by extra information at the end of this path. The extra information is sent as PATH_INFO. This information is decoded by the server if it comes from a URL before it is passed to the CGI script.<TD VALIGN=TOP><%= Request.ServerVariables("PATH_INFO") %>
  12. <TR><TD VALIGN=TOP>PATH_TRANSLATED    <TD VALIGN=TOP>The server provides a translated version of PATH_INFO, which takes the path and does any virtual-to-physical mapping to it.<TD VALIGN=TOP><%= Request.ServerVariables("PATH_TRANSLATED") %>
  13. <TR><TD VALIGN=TOP>QUERY_STRING    <TD VALIGN=TOP>The information which follows the ? in the URL which referenced this script. This is the query information.<TD VALIGN=TOP><%= Request.ServerVariables("QUERY_STRING") %>
  14. <TR><TD VALIGN=TOP>REMOTE_ADDR    <TD VALIGN=TOP>The IP address of the remote host making the request. <TD VALIGN=TOP><%= Request.ServerVariables("REMOTE_ADDR") %>
  15. <TR><TD VALIGN=TOP>REMOTE_HOST    <TD VALIGN=TOP>The hostname making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this empty.<TD VALIGN=TOP><%= Request.ServerVariables("REMOTE_HOST") %>
  16. <!-- <TR><TD VALIGN=TOP>REMOTE_IDENT    <TD VALIGN=TOP>If the HTTP server supports RFC 931 identification, then this variable will be set to the remote user name retrieved from the server. Usage of this variable should be limited to logging only.<TD VALIGN=TOP><%= Request.ServerVariables("REMOTE_IDENT") %> -->
  17. <TR><TD VALIGN=TOP>REMOTE_USER    <TD VALIGN=TOP>If the server supports user authentication, and the script is protected, this is the username by which the user is authenticated. <TD VALIGN=TOP><%= Request.ServerVariables("REMOTE_USER") %>
  18. <!-- <TR><TD VALIGN=TOP>REQUEST_BODY    <TD VALIGN=TOP>The body of the request. Used with POST messages to access the posted information.<TD VALIGN=TOP><%= Request.ServerVariables("REQUEST_BODY") %> -->
  19. <TR><TD VALIGN=TOP>REQUEST_METHOD    <TD VALIGN=TOP>The method with which the request was made. For HTTP, this is "GET", "HEAD", "POST", etc.<TD VALIGN=TOP><%= Request.ServerVariables("REQUEST_METHOD") %>
  20. <TR><TD VALIGN=TOP>SCRIPT_NAME    <TD VALIGN=TOP>A virtual path to the script being executed, used for self-referencing URLs.<TD VALIGN=TOP><%= Request.ServerVariables("SCRIPT_NAME") %>
  21. <TR><TD VALIGN=TOP>SERVER_NAME    <TD VALIGN=TOP>The server's host name, DNS alias, or IP address as it would appear in self-referencing URLs.<TD VALIGN=TOP><%= Request.ServerVariables("SERVER_NAME") %>
  22. <TR><TD VALIGN=TOP>SERVER_PORT    <TD VALIGN=TOP>The port number to which the request was sent.<TD VALIGN=TOP><%= Request.ServerVariables("SERVER_PORT") %>
  23. <TR><TD VALIGN=TOP>SERVER_PROTOCOL    <TD VALIGN=TOP>The name and revision of the information protcol this request came in with. Format: protocol/revision<TD VALIGN=TOP><%= Request.ServerVariables("SERVER_PROTOCOL") %>
  24. <TR><TD VALIGN=TOP>SERVER_SOFTWARE    <TD VALIGN=TOP>The name and version of the internet information server software answering the request (and running the gateway). Format: name/version<TD VALIGN=TOP><%= Request.ServerVariables("SERVER_SOFTWARE") %>
  25. </TABLE>