国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

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

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

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

asp(vb)獲取計(jì)算機(jī)名:

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

判斷Cookie是否可用(禁止)

asp(vb):

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

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

js:

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

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

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

Request.ServerVariables("Appl_Physical_Path")

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

Request.ServerVariables("Path_Translated")

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

Request.ServerVariables("Script_Name")

執(zhí)行腳本的名稱(chēng)

Request.ServerVariables("Query_String")

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

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

Request.ServerVariables("Server_Port")
接受請(qǐng)求的服務(wù)器端口號(hào)

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

Request.ServerVariables("Remote_Host")
發(fā)出請(qǐng)求的遠(yuǎn)程主機(jī)名稱(chēng)

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

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

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

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

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

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

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

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

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

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

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

Request.ServerVariables("Https")
如果請(qǐng)求穿過(guò)安全通道(SSL),則返回ON如果請(qǐng)求來(lái)自非安全通道,則返回OFF

Request.ServerVariables("Instance_ID")
IIS實(shí)例的ID號(hào)

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

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ù)器驗(yàn)證私人關(guān)鍵字的位數(shù)如1024

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

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

Request.ServerVariables("Auth_Password")
當(dāng)使用基本驗(yàn)證模式時(shí),客戶(hù)在密碼對(duì)話(huà)框中輸入的密碼

Request.ServerVariables("Auth_Type")
是用戶(hù)訪(fǎng)問(wèn)受保護(hù)的腳本時(shí),服務(wù)器用於檢驗(yàn)用戶(hù)的驗(yàn)證方法

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

Request.ServerVariables("Cert_Cookie")
唯一的客戶(hù)證書(shū)ID號(hào)

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

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

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

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

Request.ServerVariables("Cert_Serialnumber")
客戶(hù)證書(shū)的序列號(hào)字段

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

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

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

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

標(biāo)簽: ASP
相關(guān)文章:
主站蜘蛛池模板: 健康| 临泉县| 涪陵区| 宜兴市| 罗平县| 大余县| 儋州市| 大兴区| 观塘区| 和静县| 万州区| 洪泽县| 杭锦后旗| 嘉善县| 鹤岗市| 鲁甸县| 新巴尔虎右旗| 建平县| 纳雍县| 石景山区| 江门市| 澳门| 容城县| 阿拉善左旗| 仙桃市| 泾阳县| 比如县| 读书| 明溪县| 稷山县| 高陵县| 台前县| 封开县| 兰西县| 交口县| 新野县| 石林| 离岛区| 苏尼特左旗| 项城市| 图们市|