I am using ColdFusion 8.
I am making a CFHTTP message on a remote server. The remote site looked at their logs, and they say that my code does POST and then immediately executes the second GET request.
Here is my code (URL has been changed):
<cfhttp url="https://www.theurlofthesite.com" method="POST" port="443" resolveurl="yes" redirect="yes">
<cfhttpparam type="FORMFIELD" name="type" value="SALES">
<cfhttpparam type="FORMFIELD" name="account" value="10003">
<cfhttpparam type="FORMFIELD" name="Submit" value="Submit+Request">
</cfhttp>
<Cfoutput>#cfhttp.fileContent#</CFOUTPUT>
<cfdump var="#cfhttp#">
Does anyone know why they see the second GET request right after my POST? it destroys the session and does not save the page correctly because of this (we think)
I definitely don't do GET, I only do one POST.
thanks,
Rich
source
share