- Request.ServerVariables["ALL_HTTP"]
- Request.ServerVariables["ALL_RAW"]
- Request.ServerVariables["APPL_MD_PATH"]
- Request.ServerVariables["APPL_PHYSICAL_PATH"]
- Request.ServerVariables["AUTH_PASSWORD"]
- Request.ServerVariables["AUTH_TYPE"]
- Request.ServerVariables["AUTH_USER"]
- Request.ServerVariables["CERT_COOKIE"]
- Request.ServerVariables["CERT_FLAGS"] : 如有驗證 BIT0=1, 驗證無效 BIT1=1
- Request.ServerVariables["CERT_ISSUER"]
- Request.ServerVariables["CERT_KEYSIZE"]
- Request.ServerVariables["CERT_SECRETKEYSIZE"]
- Request.ServerVariables["CERT_SERIALNUMBER"]
- Request.ServerVariables["CERT_SERVER_ISSUER"]
- Request.ServerVariables["CERT_SERVER_SUBJECT"]
- Request.ServerVariables["CERT_SUBJECT"]
- Request.ServerVariables["CONTENT_LENGTH"]
- Request.ServerVariables["CONTENT_TYPE"]
- Request.ServerVariables["GATEWAY_INTERFACE"]
- Request.ServerVariables["HTTP_HEADERNAME"]
- Request.ServerVariables["HTTPS"] : 如果使用SSL送出請求回傳ON, 非SSL回傳OFF
- Request.ServerVariables["HTTPS_KEYSIZE"]
- Request.ServerVariables["HTTPS_SECRETKEYSIZE"]
- Request.ServerVariables["HTTPS_SERVER_ISSUER"]
- Request.ServerVariables["HTTPS_SERVER_SUBJECT"]
- Request.ServerVariables["INSTANCE_ID"] : IIS instance ID
- Request.ServerVariables["INSTANCE_META_PATH"]
- Request.ServerVariables["LOCAL_ADDR"]
- Request.ServerVariables["LOGON_USER"] : Windows的登入帳號
- Request.ServerVariables["PATH_INFO"]
- Request.ServerVariables["PATH_TRANSLATED"]
- Request.ServerVariables["QUERY_STRING"] : HTTP 請求網址中問號 (?) 後面的參數
- Request.ServerVariables["REMOTE_ADDR"]
- Request.ServerVariables["REMOTE_HOST"]
- Request.ServerVariables["REMOTE_USER"]
- Request.ServerVariables["REQUEST_METHOD"]
- Request.ServerVariables["SCRIPT_NAME"]
- Request.ServerVariables["SERVER_NAME"]
- Request.ServerVariables["SERVER_PORT"]
- Request.ServerVariables["SERVER_PORT_SECURE"] : 0 or 1
- Request.ServerVariables["SERVER_PROTOCOL"]
- Request.ServerVariables["SERVER_SOFTWARE"]
- Request.ServerVariables["URL"]
ASP 解析取得 ServerVariables 變數值(環境變數)的方式
<%
For Each x in Request.ServerVariables
Response.Write(x & "<br />")
Next
%>
沒有留言:
張貼留言