Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFHTTP redirect

Status
Not open for further replies.

phile

Programmer
Apr 20, 2001
14
0
0
GB
Hi,

I am trying to post a form to a remote server using CFHTTP, the problem I am having is that the URL redirects and causes CF to give a connection failure error. The redirect property of the CFHTTP tag apparently handles up to 5 redirects, so I am unsure of why I am getting the error. Any help with this will be greatly appreciated.

...
Code:
<cfhttp url=&quot;[URL unfurl="true"]http://domain.com/signup.asp&quot;[/URL]
        method=&quot;post&quot;
        redirect=&quot;yes&quot;
        resolveurl=&quot;yes&quot;
        throwonerror=&quot;no&quot;>
  <cfhttpparam name=&quot;username&quot; value=&quot;#username#&quot; type=&quot;url&quot;>
  <cfhttpparam ...
</cfhttp>

TIA

Phil.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top