J
JW
Sorry, posting this twice as it tagged on to a spetember posting:
---------------------------------------------------------------
I use Request.ServerVariables("HTTP_REFERER") to get the URL of the referrer
page.
However, if the page that has Request.ServerVariables("HTTP_REFERER") is in
a popup window then the value is blank!!
Can anone assist as to how to solve this problem.
The requesting page is at http://www.theexperts.co.uk/error.htm
The ASP code is:
<%
TheirURL = Request.ServerVariables("HTTP_REFERER")
sVar = TheirURL
aVar = Split(sVar, "/")
sDomain = aVar(2)
If Lcase(Left(sDomain, 4)) = "www." Then
sDomain = Right(sDomain, Len(sDomain) - 4)
End If
Response.Write sDomain
%>
Thanks
Jon
---------------------------------------------------------------
I use Request.ServerVariables("HTTP_REFERER") to get the URL of the referrer
page.
However, if the page that has Request.ServerVariables("HTTP_REFERER") is in
a popup window then the value is blank!!
Can anone assist as to how to solve this problem.
The requesting page is at http://www.theexperts.co.uk/error.htm
The ASP code is:
<%
TheirURL = Request.ServerVariables("HTTP_REFERER")
sVar = TheirURL
aVar = Split(sVar, "/")
sDomain = aVar(2)
If Lcase(Left(sDomain, 4)) = "www." Then
sDomain = Right(sDomain, Len(sDomain) - 4)
End If
Response.Write sDomain
%>
Thanks
Jon