> Which of these is correct?  The only difference is the name attribute.
>
> FOR CFMX:
>
>  <cfhttpparam
>   type="HEADER"
>   name="referer"
>   value="#attributes.Referer#">
>
>  <cfhttpparam
>   type="HEADER"
>   name="http_referer"
>   value="#attributes.Referer#">
>
> OLDER VERSIONS
>
>  <cfhttpparam
>   type="CGI"
>   name="http_referer"
>   value="#attributes.Referer#">
>
>  <cfhttpparam
>   type="CGI"
>   name="referer"
>   value="#attributes.Referer#">

The HTTP header you're trying to send is "Referer". When you look at CGI
debug output in a CF page, many of the HTTP request headers sent by the
browser are prefaced with "HTTP_", but the browser is sending something like
this:

GET /foo.cfm HTTP/1.1
Referer: http://www.foo.com/bar.cfm

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to