The ServerVariables Object has many properties besides the 'LOGON_USER'. Here is a list of all of the properties and their uses:
AUTH_TYPE: The authentication method that the server uses to validate users when they attempt to access a protected script.
CONTENT_LENGTH: The length of the content as given by the client.
CONTENT_TYPE: The data type of the content. Used with queries that have attached information, such as the HTTP queries POST and PUT.
GATEWAY_INTERFACE: The revision of the CGI specification used by the server. Format: CGI/revision.
HTTP_
LOGON_USER: The Windows NT® account that the user is logged into.
PATH_INFO: Extra path information as given by the client. You can access scripts by using their virtual path and the PATH_INFO server variable. If this information comes from a URL it is decoded by the server before it is passed to the CGI script.
PATH_TRANSLATED: A translated version of PATH_INFO that takes the path and performs any necessary virtual-to-physical mapping.
QUERY_STRING: Query information stored in the string following the question mark (?) in the HTTP request.
REMOTE_ADDR: The IP address of the remote host making the request.
REMOTE_HOST: The name of the host making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this empty.
REQUEST_METHOD: The method used to make the request. For HTTP, this is GET, HEAD, POST, and so on.
SCRIPT_MAP: Gives the base portion of the URL.
No comments:
Post a Comment