Request.ServerVariables("REMOTE_ADDR") '獲取訪問IP
Request.ServerVariables("LOCAL_ADDR") '同上
Request.ServerVariables("SERVER_NAME") '獲取服務器IP
Request.ServerVariables("HTTP_REFERER") '獲取訪問來源頁面
Request.ServerVariables("OS") '獲取操作系統
request.ServerVariables("APPL_PHYSICAL_PATH") '獲取IIS物理路徑
Request.ServerVariables("SCRIPT_NAME") '獲取虛擬路徑
Request.ServerVariables("NUMBER_OF_PROCESSORS") '獲取服務器CPU個數
Request.ServerVariables("SERVER_PORT") '服務器處理請求的端口
Request.ServerVariables["Url"] 返回服務器地址
Request.ServerVariables["Path_Info"] 客戶端提供的路徑信息
Request.ServerVariables["Appl_Physical_Path"] 與應用程序元數據庫路徑相應的物理路徑
Request.ServerVariables["Path_Translated"] 通過由虛擬至物理的映射后得到的路徑
Request.ServerVariables["Script_Name"] 執行腳本的名稱
Request.ServerVariables["Query_String"] 查詢字符串內容
Request.ServerVariables["Http_Referer"] 請求的字符串內容
Request.ServerVariables["Server_Port"] 接受請求的服務器端口號
Request.ServerVariables["Remote_Addr"] 發出請求的遠程主機的IP地址
Request.ServerVariables["Remote_Host"] 發出請求的遠程主機名稱
Request.ServerVariables["Local_Addr"] 返回接受請求的服務器地址
Request.ServerVariables["Http_Host"] 返回服務器地址
Request.ServerVariables["Server_Name"] 服務器的主機名、DNS地址或IP地址
Request.ServerVariables["Request_Method"] 提出請求的方法比如GET、HEAD、POST等等
新聞熱點
疑難解答
圖片精選