Matt:
Add another CFHTTPPARAM to specify the referer as in:
<CFHTTPPARAM TYPE="CGI" NAME="referer" VALUE="#CGI.HTTP_REFERER#">
This code tells CFHTTP to use the same referer as was sent to the page
containing this code.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
> -----Original Message-----
> From: Matt Robertson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 03, 2003 1:01 PM
> To: CF-Talk
> Subject: Referer with cfhttp?
>
>
> I'm doing a cfhttp post to a remote site that requires referer
> authentication. The post works fine, but the referrer is coming up as
> the destination and not me; the source. If I manually build a form and
> submit that way the referer is fine, so its cfhttp that's doing this.
>
> How can I get a cfhttp post to leave the referer alone? Or reset it? I
> never knew cfhttp did this in the first place.
>
> In the code below, this post from my site results in cgi.http_referer
> coming up as https://cart.bamart.com/
>
> <cfhttp
> url="https://cart.bamart.com/debug/payment.mart"
> name="PaymentInfo"
> method="POST"
> port="443">
> <cfhttpparam type="FORMFIELD" name="ioc_merchant_id" value="mytest">
> ...
> </cfhttp>
>
> Any help would be much appreciated.
>
> --------------------------------------------
> Matt Robertson [EMAIL PROTECTED]
> MSB Designs, Inc. http://mysecretbase.com
> --------------------------------------------
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com