Scooby Doobie Doo wrote:
Figured it out..
<cfset prefix = "
http://">
<cfset full_path = "#prefix#" & "#CGI.SERVER_NAME#"
& "#CGI.SCRIPT_NAME#">
Those are two different things. CGI.SERVER_NAME and
CGI.SCRIPT_NAME refer to the current page. CGI.HTTP_REFERER is the
previous referring page.
You can use list functions to extract the first part of the
HTTP_REFERER string
listFirst(CGI.HTTP_REFERER, "?")