ServerVariables Action on a path (turn)

Source: Internet
Author: User
Tags servervariables unique id metabase
Some days ago sent a number of posts, to ask questions about the path, but also has not replied. In fact, my concept of the path has been relatively vague, and then also introduced the ServerVariables data collection, so that I solved the problem that puzzled me for a long time. Reprint this article, on the one hand see can help those and I have shared feelings of friends, but also hope that seniors can give more advice.


ServerVariables
The ServerVariables collection retrieves the predetermined environment variables.

Grammar
Request.ServerVariables (server environment variable)

Parameters
Server environment variables
Specifies the name of the server environment variable to retrieve. You can use the values listed below. Variable description
All_http all HTTP header files sent by the client.
All_raw retrieves all the headers in the unhandled table. Unlike All_raw and all_http, all_http places HTTP_ prefix in front of the title filename, and the title name is always capitalized. When you use All_raw, the title name and value appear only when the client sends it.
Appl_md_path retrieves the metabase path of the (WAM) application of the ISAPI DLL.
Appl_physical_path retrieves the physical path corresponding to the metabase path. IIS returns a value by converting Appl_md_path to a physical (directory) path.
Auth_password the value into the client's authentication dialog. This variable is available only if you are using Basic authentication.
Auth_type This is the authentication method that the server uses to verify the user's access to the protected script.
Auth_User the user name that was not authenticated.
Cert_cookie the unique ID of the client validation, returned as a string. A signature that can be validated as an entire client.
Cert_flags If there is client-side validation, then Bit0 is 1.
If the authentication of the client is invalid (not in the list of the CAs recognized by the server), Bit1 is set to 1.

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.