M
magic kat
How can I get the full url of the page that is calling my page? I tried the
below, but it gives me my page, not the page that redirected to me.
' Dim sURL as String
'if strcomp(Request.ServerVariables ("HTTPS"), "ON", 1) = 0 then
' sURL = "https://"
'else
' sURL = "http://"
'end if
' sURL = sURL & Request.ServerVariables ("SERVER_NAME")
' sURL = sURL & Request.ServerVariables ("SCRIPT_NAME")
' if len(trim(Request.QueryString.tostring)) > 0 then
' sURL = sURL & "?" & Request.QueryString.tostring
'end if
'Response.Write(sURL)
Thanks.
below, but it gives me my page, not the page that redirected to me.
' Dim sURL as String
'if strcomp(Request.ServerVariables ("HTTPS"), "ON", 1) = 0 then
' sURL = "https://"
'else
' sURL = "http://"
'end if
' sURL = sURL & Request.ServerVariables ("SERVER_NAME")
' sURL = sURL & Request.ServerVariables ("SCRIPT_NAME")
' if len(trim(Request.QueryString.tostring)) > 0 then
' sURL = sURL & "?" & Request.QueryString.tostring
'end if
'Response.Write(sURL)
Thanks.