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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone done a Re-direct with a CFHTTP Post?

Status
Not open for further replies.

countdrak

Programmer
Jun 20, 2003
358
US
I cant get it to work. The redirect never takes place.

Here is my code.

Code:
<cfhttp url="[URL unfurl="true"]http://frontierhelp.com/carboniteresponse.cfm"[/URL] method="POST" redirect="yes" resolveurl="yes">
	<CFHTTPPARAM type="HEADER" name="User-Agent" value="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)">
	<CFHTTPPARAM type="HEADER" name="Connection" value="Keep-Alive">
	<CFHTTPPARAM type="HEADER" name="Cache-Control" value="no-cache">
	<CFHTTPPARAM type="FORMFIELD" name="test1" value="Hello">
	<CFHTTPPARAM type="FORMFIELD" name="test2" value="World">
	</CFHTTP>
What am I doing wrong?
 
I don't see the LOCATION value in the response header. This is what CFHTTP evaluates for the redirection.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top