CGI.HTTP_REFERER is the variable you are looking for. Note that sometimes it is not present, so you must first do <CFIF IsDefined(CGI.HTTP_REFERER)>.
> CGI.HTTP_REFERER is the variable you are looking for. Note that sometimes it is not present, so you must first do <CFIF IsDefined(CGI.HTTP_REFERER)>.
That's not going to get you too far: CF always returns "YES" for
isDefined("CGI.anythingYouLikeHere").
You'd want to do:
structKeyExists(CGI, "anythingYouLikeHere")
EG:
structKeyExists(CGI, "http_referer")
But in the case of CGI.http_referer, it ALWAYS exists. It might just be
blank.

Signature
Adam