Board index » Visual Studio » Request.ServerVariables("HTTP_REFERER")

Request.ServerVariables("HTTP_REFERER")

Visual Studio196
Hi All,



I'm trying to get the Referer URL by using

Request.ServerVariables("HTTP_REFERER") but all I got back is the Server or

Host Name not the whole Referer URL. Is there any way to get the entire

Refering URL that including path, querystrings....?



Thanks

Henry


-
 

Re:Request.ServerVariables("HTTP_REFERER")

"HTM" <hmai@superioraccess.net>wrote in message

Quote
Hi All,



I'm trying to get the Referer URL by using

Request.ServerVariables("HTTP_REFERER") but all I got back is the Server

or

Host Name not the whole Referer URL. Is there any way to get the entire

Refering URL that including path, querystrings....?



Thanks

Henry





Are you running Norton Personal Firewall?



If so, HTTP_REFERER is blocked.





Run this in an ASP page and see what you get.



<%

For Each item In Request.ServerVariables

Response.Write("<br>" & item & " = " & Request.ServerVariables(item))

Next

%>





-