Often see someone ask how to get the client environment, where all of the server-side variables supported by IE5 are listed here.

Source: Internet
Author: User
Tags header http request iis variables unique id metabase
server| variable | Client below is all server-side variables supported by the IE5 provided by MSDN (April 1999 Edition)
Some of the variables are not supported in previous releases and may change in future releases (this is Microsoft's exact words)

Variable Description
All_http all HTTP headers sent by the client.
All_raw retrieves all headers in the raw-form. The difference between All_raw and all_http is this all_http places an HTTP_ prefix before the header name and the header- The name is always capitalized. In All_raw the header name and values appear as they are sent by the client.
Appl_md_path retrieves the metabase PATH for the (WAM) application for the ISAPI DLL.
Appl_physical_path retrieves the physical path corresponding to the metabase path. IIS converts the Appl_md_path to the physical directory.
Auth_password the value entered in the Client ' s authentication dialog. This variable is available if Basic authentication is used.
Auth_type The authentication method, the server uses to validate users, they to access a attempt script.
Auth_User Raw authenticated USER name.
Cert_cookie Unique ID for client certificate, returned as a string. Can is used as a signature for the whole client certificate.
Cert_flags Bit0 is set to 1 if the client certificate is present.
Bit1 is set to 1 if the certificate authority of the client certificate are invalid (not in the list of recognized CAs on th e server).

Cert_issuer issuer field of the client certificate (o=ms, Ou=ias, cn=user name, C=usa).
Cert_keysize number of bits in Secure Sockets Layer connection key size. For example, 128.
Cert_secretkeysize number of Bits in server certificate private key. For example, e.g. 1024.
Cert_serialnumber Serial Number field of the client certificate.
Cert_server_issuer issuer field of the SERVER certificate.
Cert_server_subject SUBJECT field of the SERVER certificate.
Cert_subject SUBJECT field of the client certificate.
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 get, POST, and put.
Gateway_interface the revision of the CGI specification used by the server. The format is cgi/revision.
Http_Note The server interprets any underscore (_) characters in Headername as dashes header. For example if you are specify Http_my_header, the server searches for a HEADER sent as My-header.

Http_accept Returns The value of the ACCEPT header.
Http_accept_language Returns A string describing the LANGUAGE to use for displaying content.
Http_user_agent Returns A string describing the browser that sent the request.
Http_cookie Returns The COOKIE string that is included with the request.
Http_referer Returns A string containing the URL of the original request when a redirect has.
HTTPS Returns on if the request came in through secure channel (SSL) or it Returns off if the request was for a non-secure Channel.
Https_keysize number of bits in Secure Sockets Layer connection key size. For example, 128.
Https_secretkeysize number of Bits in server certificate private key. For example, 1024.
Https_server_issuer issuer field of the SERVER certificate.
Https_server_subject SUBJECT field of the SERVER certificate.
INSTANCE_ID the ID for the IIS INSTANCE in textual format. If The instance ID is 1, it appears as a string. You can use this variable to retrieve the ID of the Web-server instance (in the metabase) to which the request belongs.
Instance_meta_path the metabase PATH for the INSTANCE of IIS this responds to the request.
LOCAL_ADDR Returns The Server address is which the request came in. This is important on multihomed machines where there can are multiple IP addresses bound to a machine and your want to find Out which address the request used.
Logon_User the Windows Nt®account that's 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 are passed to the CGI script.
path_translated A translated version of Path_info that takes the PATH and performs any necessary virtual-to-physical Ng.
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 Reques



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.