婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > asp中獲取當前頁面的地址與參數的函數代碼

asp中獲取當前頁面的地址與參數的函數代碼

熱門標簽:地圖標注陽江 武穴地圖標注 創意電話機器人 濟源電銷外呼系統線路 世界地圖標注了哪些城市 java外呼系統是什么 梧州市地圖標注 石家莊慧營銷外呼系統 外呼線路批發
復制代碼 代碼如下:

Function getCurrentUrl()
On Error Resume Next
Dim strTemp
If LCase(Request.ServerVariables("HTTPS")) = "off" Then
strTemp = "http://"
Else
strTemp = "https://"
End If
strTemp = strTemp Request.ServerVariables("SERVER_NAME")
If Request.ServerVariables("SERVER_PORT") > 80 Then
strTemp = strTemp ":" Request.ServerVariables("SERVER_PORT")
end if
strTemp = strTemp Request.ServerVariables("URL")
getCurrentUrl = strTemp
End Function

Function getUrlWithParams()
Dim ScriptAddress,Servername,qs
ScriptAddress = CStr(Request.ServerVariables("SCRIPT_NAME"))
Servername = CStr(Request.ServerVariables("Server_Name"))
qs=Request.QueryString
If Request.ServerVariables("SERVER_PORT") > 80 Then
Servername = Servername ":" Request.ServerVariables("SERVER_PORT")
end if
if qs>"" then
getUrlWithParams ="http://" Servername ScriptAddress "?"qs
else
getUrlWithParams ="http://" Servername ScriptAddress
end if
End Function

標簽:甘南 唐山 迪慶 南寧 來賓 淮北 揭陽 滁州

巨人網絡通訊聲明:本文標題《asp中獲取當前頁面的地址與參數的函數代碼》,本文關鍵詞  asp,中,獲取,當前,頁,面的,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《asp中獲取當前頁面的地址與參數的函數代碼》相關的同類信息!
  • 本頁收集關于asp中獲取當前頁面的地址與參數的函數代碼的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 且末县| 竹山县| 崇明县| 三河市| 白山市| 当雄县| 章丘市| 大姚县| 金秀| 萍乡市| 栾城县| 松阳县| 广南县| 蓬安县| 略阳县| 南丰县| 金湖县| 九台市| 恩平市| 扎兰屯市| 永善县| 习水县| 沭阳县| 兖州市| 寿阳县| 浦县| 特克斯县| 藁城市| 河曲县| 犍为县| 濮阳市| 渝北区| 连州市| 搜索| 临颍县| 安多县| 五原县| 宁城县| 安仁县| 鹰潭市| 漯河市|