I have a problem using cfhttp in one part of my code. I'm stumped so I need your help people
Here is what I receive in the browser IE. The Status Code: 400 Bad Request The Raw Header: HTTP/1.1 400 Bad Request Server: Microsoft-IIS/4.0 Date: Mon, 24 Jun 2002 20:48:50 GMT Content-Length: 407 Content-Type: text/html Output the Response Headers: ---------------------------------------------------------------------------- ---- CONTENT-LENGTH : 407 CONTENT-TYPE : text/html DATE : Mon, 24 Jun 2002 20:48:50 GMT EXPLANATION : Bad HTTP_VERSION : HTTP/1.1 SERVER : Microsoft-IIS/4.0 STATUS_CODE : 400 Here is the code causing the error: <cfhttp RESOLVEURL="Yes" REFERER="http://skillport.nywired.org/SkillPort/cfmpages/upd_profile.cfm" REDIRECT="No" USERAGENT="Mozilla/4.0 (compatible; MSIE 6.0 Windows NT 5.1; Q312461)" METHOD="POST" URL="http://skillport.nywired.org/SkillPort/cfmpages/upd_profile.cfm?lmsacti on=updated" > <cfhttpparam NAME="CFID" TYPE="Cookie" VALUE="#cook1#"> <cfhttpparam NAME="CFTOKEN" TYPE="Cookie" VALUE="#cook2#"> <cfhttpparam NAME="firstname" TYPE="URL" VALUE="#firstname#"> <cfhttpparam NAME="lastname" TYPE="URL" VALUE="#lastname#"> <cfhttpparam NAME="email" TYPE="URL" VALUE="#email#"> <cfhttpparam NAME="oldpassword" TYPE="URL" VALUE="#oldpassword#"> <cfhttpparam NAME="newpassword" TYPE="URL" VALUE="#newpassword#"> <cfhttpparam NAME="verifypassword" TYPE="URL" VALUE="#verifypassword#"> <cfhttpparam NAME="lmsaction" TYPE="URL" VALUE="updated"> <cfhttpparam NAME="x508" TYPE="URL" VALUE="0"> <cfhttpparam NAME="submit" TYPE="URL" VALUE="Update Profile"> <cfhttpparam NAME="Reset" TYPE="URL" VALUE="Reset"> </cfhttp> <cfoutput> #cfhttp.filecontent# <BR> <H3><B>The mime-type:</B></H3><BR> #cfhttp.mimetype#<BR> <H3><B>The Status Code:</B></H3><BR> #cfhttp.statuscode#<BR> <H3><B>The Raw Header:</B></H3><BR> #cfhttp.header#<BR> </CFOUTPUT> <H3><B>Output the Response Headers:</B></H3><BR> <HR> <CFLOOP collection=#cfhttp.RESPONSEHEADER# item="httpHeader"> <CFSET value = cfhttp.RESPONSEHEADER[httpHeader]> <CFIF IsSimpleValue(value)> <cfif #httpHeader# is "SET-COOKIE"> <cfset arraydata=#REFind("ZDUSMSK=([^;]+)",value,1,"TRUE")#> <cfset cook=#Mid(value, arraydata.pos[2],arraydata.len[2])#> <CFOUTPUT> Cookie : #cook#<BR> <CFCOOKIE NAME="ZDUSMSK" VALUE="#cook#"> </CFOUTPUT> </cfif> <CFOUTPUT> #httpHeader# : #value#<BR> </CFOUTPUT> <CFELSE> <CFLOOP index="counter" from=1 to=#ArrayLen(value)#> <CFOUTPUT> #httpHeader# : #value[counter]#<BR> </CFOUTPUT> </CFLOOP> </CFIF> </CFLOOP> Any ideas??? regards Mario ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

