好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > 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中獲取當前頁面的地址與參數的函數代碼的相關信息資訊供網民參考!
  • 推薦文章