Referrer Property

 

Type: String

 

Returns the URL of the referring page, if any.

 

Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires either the Professional or Enterprise Edition of BrowserHawk.

 

Tip: See the extproperties.asp example located in your BrowserHawk directory for detailed information and examples on using this property.

 

Tip: When calling the GetExtPropertiesEx method you will lose the referrer information normally available with Request("HTTP_REFERRER"). Therefore if you need to access the referrer information you should do so through this property instead of the Request object.

 

Example:

<% set bhObj = Server.CreateObject("cyScape.browserObj")

bhObj.SetExtProperties "TimeZoneDiff, Referrer"

bhObj.GetExtPropertiesEx

%>

<html>

<%

response.write bhObj.TimeZoneDiff & "<br>"

response.write "Referring page is: "

ref = bhObj.Referrer

if ref = "" then

response.write "<none>"

else

response.write ref

end if %>

</html>

 

Special notes for this property:

 

See Also:

GetExtPropertiesEx Method

SetExtProperties Method