Mike

CFHTTP does not redirect the user to a site
CFHTTP acts like your browser and sends information to the URL you 
specify in the tag. Then, you get response [CFHTTP.FILECONTENT] and do 
what you want with it. Look at it for a SUCCESS or FAILURE type of 
message then display the appropriate info to your user on your site.

You can use CFLOCATION to redirect the user to a different URL

- Joe Velez


Mike Little wrote:
> hi guys,
>
> i am using the following code (after inputting order details to db) to send 
> form variables to a 3rd party processor.
>
> <cfhttp method="post" url="http://www.theirwebsite.com/"; redirect="yes" 
> throwonerror="yes">
>    <cfhttpparam name="account_id" value="xxxxxx" type="formfield">
>    <cfhttpparam name="cmd" value="_x3party" type="formfield">
>    <cfhttpparam name="reference" value="#merchantRef#" type="formfield">
>    <cfhttpparam name="amount" value="#amount#" type="formfield">
>    <cfhttpparam name="return_url" value="http://www.mywebsitecom/"; 
> type="formfield">
>    <cfhttpparam name="customer_email" value="[EMAIL PROTECTED]" 
> type="formfield">
>   </cfhttp>
>
> everything runs fine on submitting, however the page does not redirect to 
> their site and i receive no error from the cfhttp so i cannot see what is 
> going wrong?
>
> can anyone shed some light on what i may be missing.
>
> thanks heaps.
> mike 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306857
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to