Request.ServerVariables parameter description of asp.net

巴扎黑
Release: 2016-12-20 11:05:58
Original
1405 people have browsed it

Request.ServerVariables["SERVER_NAME"] 'Get the server IP
Request.ServerVariables["HTTP_REFERER"] 'Get the access source page
Request.ServerVariables["OS"] 'Get the operating system
request.ServerVariables["APPL_PHYSICAL_PATH"] ' Get the physical path of IIS srequest.servervariables ["script_name"] 'Get the virtual path
request.Servervariables ["Number_of_Processors"]' Server_port "] 'Port for the server processing request
Request. ServerVariables["Url"] Returns the server address
Request.ServerVariables["Path_Info"] The path information provided by the client
Request.ServerVariables["Appl_Physical_Path"] and the application metabase The physical path corresponding to the path
Request.ServerVariables["Path_Translated "] The path obtained by mapping from virtual to physical
Request.ServerVariables["Script_Name"] The name of the executed script
Request.ServerVariables["Query_String"] Query string content
Request.ServerVariables["Http_Referer"] Requested String content
Request.ServerVariables["Server_Port"]                                                                     off off off off off off off out out off out off out out out out out through out Through out Through out off ’ s ’ ’ s ’ ’ s through through ’' s ’ through ’ s' ‐ ‐ ‐ r w‐ ww i i i i i s s                                                                                                                       minating Name
Request.ServerVariables["Local_Addr"] Returns the server address that accepts the request
Request.ServerVariables["Http_Host"] Returns the server address
Request.ServerVariables["Server_Name"] The host name and DNS of the server Address or IP address
Request.ServerVariables ["Request_Method"] The request method such as GET, HEAD, POST, etc.
Request.ServerVariables["Server_Port_Secure"] If the server port accepting the request is a secure port, it is 1, otherwise it is 0
Request.ServerVariables[" Server_Protocol"] The name and version of the protocol used by the server
Request.ServerVariables["Server_Software"] The name and version of the server software that answers the request and runs the gateway
Request.ServerVariables["All_Http"] All HTTP headers sent by the client, Prefix HTTP_
Request.ServerVariables["All_Raw"] ​ All HTTP headers sent by the client will have the same result as when sent by the client without the prefix HTTP_
Request.ServerVariables["Appl_MD_Path"] ​ The metabase path of the application
Request. ServerVariables["Content_Length"] The length of the content sent by the client
Request.ServerVariables["Https"] If the request passes through a secure channel (SSL), it returns ON. If the request comes from a non-secure channel, it returns OFF
Request.ServerVariables[" Instance_ID"] The ID number of the IIS instance
Request.ServerVariables["Instance_Meta_Path"] The metabase path of the IIS instance that responds to the request
Request.ServerVariables["Http_Accept_Encoding"] Return content such as: gzip, deflate
Request.servervariables ["http_accept_language"] returns the content. "Http_cookie"] Back content: Cookie's value
Request.servervariables [ "Http_User_Agent"] Returned content: Mozilla/4.0[compatible;MSIE6.0;WindowsNT5.1;SV1]
Request.ServerVariables["Https_Keysize"] ["Https_Secretkeysize"] The number of digits of the server verification private key, such as 1024
Request.ServerVariables["Https_Server_Issuer"] The issuer field of the server certificate
Request.ServerVariables["Https_Server_Subject"] The subject field of the server certificate
Request.Serv erVariables[" Auth_Password"] When using basic authentication mode, the password entered by the customer in the password dialog box
Request.ServerVariables["Auth_Type"] is the authentication method used by the server to verify the user when the user accesses a protected script
Request.ServerVariables[ "Auth_User"] The user name of the certificate
Request.ServerVariables["Cert_Cookie"] The unique client certificate ID number
Request.ServerVariables["Cert_Flag"] The client certificate flag. If there is a client certificate, bit0 is 0. end Certificate verification is invalid, bit1 is set to 1
Request.ServerVariables["Cert_Issuer"]                       The issuer field in the user certificate                                                      . .ServerVariables["Cert_Secretkeysize"] The number of digits of the server verification private key, such as 1024
Request.ServerVariables["Cert_Serialnumber"] The serial number field of the client certificate
Request.ServerVariables["Cert_Server_Issuer"] The issuer field of the server certificate
Request . ServerVariables["Cert_Server_Subject"] The subject field of the server certificate
Request.ServerVariables["Cert_Subject"] The subject field of the client certificate
Request.ServerVariables["Content_Type"] The form content or HTTPPUT sent by the client Data type

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template