> I use CFHTTP in a program to post to authnet. I ran some 
> tests to post with CFHTTP to other pages and I assumed that 
> the page that ran the CFHTTP would be the referer but this 
> doesn't seem to be the case. Anyone know the theory behind 
> it? Authorize.Net has this new policy which is going to 
> screw me up big time :)

The Referer header isn't automatically sent; if you write an HTTP client,
and you want to send it, you have to make sure it's part of your HTTP
header. Using CFHTTP, this requires that you use the CFHTTPPARAM tag to send
the appropriate CGI variable, I suppose:

<cfhttp url="..."
        method="post">
        <cfhttpparam type="CGI" name="Referer"
value="http://server/page.cfm";>
        ...
</cfhttp>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to