/ Published in: ASP
This function return the current Url, including the Get parameters.
Expand |
Embed | Plain Text
Function CurrentURLWithParams() Dim Temp Temp = "http://" & Request.ServerVariables("SERVER_NAME") Temp = Temp & Request.ServerVariables("SCRIPT_NAME") If Request.ServerVariables("QUERY_STRING") <> "" Then Temp = Temp & "?" & Request.ServerVariables("QUERY_STRING") End If CurrentURLWithParams = Temp End Function
You need to login to post a comment.
