|
- Function GetSelfURL()
- If Request.ServerVariables("HTTPS")="on" Then
- sSelfURL = "https://"
- ElseIf Request.ServerVariables("HTTPS")="off" Then
- sSelfURL = "http://"
- End If
- sSelfURL = sSelfURL & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("PATH_INFO")
- sQuery = Request.ServerVariables("QUERY_STRING")
- If sQuery <> "" Then
- sSelfURL = sSelfURL & "?" & sQuery
- End If
- GetSelfURL = sSelfURL
- End Function
复制代码 |
|