亚洲精品久久久中文字幕-亚洲精品久久片久久-亚洲精品久久青草-亚洲精品久久婷婷爱久久婷婷-亚洲精品久久午夜香蕉

您的位置:首頁技術(shù)文章
文章詳情頁

asp中Request.ServerVariables的參數(shù)集合

瀏覽:232日期:2022-06-04 18:47:04

asp(vb)獲取計算機名:

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

判斷Cookie是否可用(禁止)

asp(vb):

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

也可以在前一頁面中寫入cookie 在下一頁面調(diào)用,如調(diào)用不成功則說明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不可用,請正確設(shè)置瀏覽器!"
a=""
end if
%>

js:

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

Request.ServerVariables("Url")
返回服務(wù)器地址

Request.ServerVariables("Path_Info")
客戶端提供的路徑信息

Request.ServerVariables("Appl_Physical_Path")

與應(yīng)用程序元數(shù)據(jù)庫路徑相應(yīng)的物理路徑

Request.ServerVariables("Path_Translated")

通過由虛擬至物理的映射后得到的路徑

Request.ServerVariables("Script_Name")

執(zhí)行腳本的名稱

Request.ServerVariables("Query_String")

查詢字符串內(nèi)容

Request.ServerVariables("Http_Referer")
上個頁面地址

Request.ServerVariables("Server_Port")
接受請求的服務(wù)器端口號

Request.ServerVariables("Remote_Addr")
發(fā)出請求的遠(yuǎn)程主機的IP地址

Request.ServerVariables("Remote_Host")
發(fā)出請求的遠(yuǎn)程主機名稱

Request.ServerVariables("Local_Addr")
返回接受請求的服務(wù)器地址

Request.ServerVariables("Http_Host")
返回服務(wù)器地址

Request.ServerVariables("Server_Name")
服務(wù)器的主機名、DNS地址或IP地址

Request.ServerVariables("Request_Method")
提出請求的方法比如GET、HEAD、POST等等

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

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

Request.ServerVariables("Server_Software")
應(yīng)答請求并運行網(wǎng)關(guān)的服務(wù)器軟件的名稱和版本

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

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

Request.ServerVariables("Appl_MD_Path")
應(yīng)用程序的元數(shù)據(jù)庫路徑

Request.ServerVariables("Content_Length")
客戶端發(fā)出內(nèi)容的長度

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

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

Request.ServerVariables("Instance_Meta_Path")
響應(yīng)請求的IIS實例的元數(shù)據(jù)庫路徑

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

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

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

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

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

HHHFBBJOJCCONPPHLKGHPB

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

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

Request.ServerVariables("Https_Secretkeysize")
服務(wù)器驗證私人關(guān)鍵字的位數(shù)如1024

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

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

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

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

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

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

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

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

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

Request.ServerVariables("Cert_Secretkeysize")
服務(wù)器驗證私人關(guān)鍵字的位數(shù)如1024

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

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

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

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

Request.ServerVariables("Content_Type")
客戶發(fā)送的form內(nèi)容或HTTPPUT的數(shù)據(jù)類型 

標(biāo)簽: ASP
相關(guān)文章:
主站蜘蛛池模板: 三级网站免费 | 欧美国产日韩另类 | 国产999在线| 中文线码中文高清播放中 | 黄色片s色| 91福利视频合集 | 亚洲人成网站在线观看播放青青 | 亚州一级| 精品免费久久久久国产一区 | 亚洲欧洲国产成人综合一本 | 亚洲欧美国产日本 | 日韩在线精品视频 | 精品欧美亚洲韩国日本久久 | 国内精品第一页 | 国产亚洲精品成人a在线 | 老年人一级毛片 | ntr中文字幕亚洲综合 | 青青青青久久精品国产h | 久久久国产精品va麻豆 | 色花堂国产精品第二页 | 亚洲一区二区三区四区热压胶 | 欧美极品福利视频在线播放 | 国产精品亚洲综合久久 | 黄黄影院 | 黄色影片在线观看 | 国产精选91热在线观看 | 尤物tv在线 | 丁香婷婷在线观看 | 欧美高清免费一级在线 | 亚洲制服丝袜第一页 | 成人a毛片一级 | 欧美日产欧美日产精品 | 国产大片www | 欧美黑寡妇香蕉视频 | 欧美成人免费全部观看天天性色 | 精品国产调教最大网站女王 | 大陆精品自在线拍国语 | 国产亚洲一区二区手机在线观看 | 欧美一级特黄视频 | 国产一区系列在线观看 | 国产欧美自拍 |