一区二区三区在线-一区二区三区亚洲视频-一区二区三区亚洲-一区二区三区午夜-一区二区三区四区在线视频-一区二区三区四区在线免费观看

服務器之家:專注于服務器技術及軟件下載分享
分類導航

PHP教程|ASP.NET教程|Java教程|ASP教程|編程技術|正則表達式|C/C++|IOS|C#|Swift|Android|VB|R語言|JavaScript|易語言|vb.net|

服務器之家 - 編程語言 - ASP教程 - asp中Request.ServerVariables的參數集合

asp中Request.ServerVariables的參數集合

2020-03-11 14:02mdxy-dxy ASP教程

這篇文章主要介紹了asp中Request.ServerVariables的參數集合,需要的朋友可以參考下

asp(vb)獲取計算機名:

<%set oWSH = Server.CreateObject("WScript.Network")%>
<%=oWSH.ComputerName%>

判斷Cookie是否可用(禁止)

asp(vb):

<%Set objBC=Server.CreateObject("MSWC.BrowserType")%>
<%= objBC.Cookies%>

也可以在前一頁面中寫入cookie 在下一頁面調用,如調用不成功則說明Cookie不可用。

<%
response.cookies("CookieEnable2y")="yes"
response.cookies("CookieEnable2y").expires=date+30
%>

<%
Set objBC=Server.CreateObject("MSWC.BrowserType")
if request.cookies("CookieEnable2y")<>"yes" or (not objBC.Cookies) then
msg="錯誤,Cookie不可用,請正確設置瀏覽器!"
a=""
end if
%>

js:

<script language="javascript">
function check(){
if(window.navigator.cookieEnabled)
   return true;
else{
   alert("瀏覽器配置錯誤,Cookie不可用!");
   return false;}
}
</script>

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等等

Request.ServerVariables("Server_Port_Secure")
如果接受請求的服務器端口為安全端口時,則為1,否則為0

Request.ServerVariables("Server_Protocol")
服務器使用的協議的名稱和版本

Request.ServerVariables("Server_Software")
應答請求并運行網關的服務器軟件的名稱和版本

Request.ServerVariables("All_Http")
客戶端發送的所有HTTP標頭,前綴HTTP_

Request.ServerVariables("All_Raw")
客戶端發送的所有HTTP標頭,其結果和客戶端發送時一樣,沒有前綴HTTP_

Request.ServerVariables("Appl_MD_Path")
應用程序的元數據庫路徑

Request.ServerVariables("Content_Length")
客戶端發出內容的長度

Request.ServerVariables("Https")
如果請求穿過安全通道(SSL),則返回ON如果請求來自非安全通道,則返回OFF

Request.ServerVariables("Instance_ID")
IIS實例的ID號

Request.ServerVariables("Instance_Meta_Path")
響應請求的IIS實例的元數據庫路徑

Request.ServerVariables("Http_Accept_Encoding")
返回內容如:gzip,deflate

Request.ServerVariables("Http_Accept_Language")
返回內容如:en-us

Request.ServerVariables("Http_Connection")
返回內容:Keep-Alive

Request.ServerVariables("Http_Cookie")
返回內容如:nVisiT%

2DYum=125;ASPSESSIONIDCARTQTRA=FDOBFFABJGOECBBKHKGPFIJI;ASPSESSIONIDCAQQTSRB=LKJJPLABABILLPCOGJGAMKAM;ASPSESSIONIDACRRSSRA=DK

HHHFBBJOJCCONPPHLKGHPB

Request.ServerVariables("Http_User_Agent")
返回內容:Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.1;SV1)

Request.ServerVariables("Https_Keysize")
安全套接字層連接關鍵字的位數,如128

Request.ServerVariables("Https_Secretkeysize")
服務器驗證私人關鍵字的位數如1024

Request.ServerVariables("Https_Server_Issuer")
服務器證書的發行者字段

Request.ServerVariables("Https_Server_Subject")
服務器證書的主題字段

Request.ServerVariables("Auth_Password")
當使用基本驗證模式時,客戶在密碼對話框中輸入的密碼

Request.ServerVariables("Auth_Type")
是用戶訪問受保護的腳本時,服務器用於檢驗用戶的驗證方法

Request.ServerVariables("Auth_User")
代證的用戶名

Request.ServerVariables("Cert_Cookie")
唯一的客戶證書ID號

Request.ServerVariables("Cert_Flag")
客戶證書標誌,如有客戶端證書,則bit0為0如果客戶端證書驗證無效,bit1被設置為1

Request.ServerVariables("Cert_Issuer")
用戶證書中的發行者字段

Request.ServerVariables("Cert_Keysize")
安全套接字層連接關鍵字的位數,如128

Request.ServerVariables("Cert_Secretkeysize")
服務器驗證私人關鍵字的位數如1024

Request.ServerVariables("Cert_Serialnumber")
客戶證書的序列號字段

Request.ServerVariables("Cert_Server_Issuer")
服務器證書的發行者字段

Request.ServerVariables("Cert_Server_Subject")
服務器證書的主題字段

Request.ServerVariables("Cert_Subject")
客戶端證書的主題字段

Request.ServerVariables("Content_Type")
客戶發送的form內容或HTTPPUT的數據類型 

延伸 · 閱讀

精彩推薦
主站蜘蛛池模板: 4455永久在线视频观看 | 私人影院在线播放 | 欧美最猛性xxxxx男男 | 欧美日韩综合网在线观看 | 无人区在线观看免费视频国语 | 日本护士xxxx视频 | 99久久精品免费看国产情侣 | 久久伊人精品青青草原2021 | 成人欧美一区二区三区黑人 | 好大好硬好深好爽想要吃奶 | 狠狠做五月深爱婷婷天天综合 | 2019国产精品 | 亚洲国产精品久久久久久网站 | 高跟翘臀老师后进式视频 | 久久久黄色片 | 视频在线视频免费观看 | 美女露尿口| 久久视热频国产这里只有精品23 | 希望影院高清免费观看视频 | 免费高清www动漫视频播放器 | 紧身牛仔裤美女被啪啪久久网 | 亚洲欧美日韩在线观看看另类 | 欧美亚洲高清日韩成人 | 免费看日韩 | 二次元美女脱裤子让男人桶爽 | 高跟丝袜hdvideossex | www.com日本| 蜜色网 | 日本伦理动漫在线观看 | 手机在线观看网站免费视频 | 国产麻豆剧果冻传媒观看免费视频 | 精品99一区二区三区麻豆 | 97社区| 门房秦大爷最新章节阅读 | 香蕉成人999视频 | 男公厕里同性做爰 | 亚洲激情自拍偷拍 | 欧美一级xxxx俄罗斯一级 | 久久99热狠狠色一区二区 | 爱情岛论坛亚洲自拍 | 99在线视频观看 |