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

Element RESPONSEHEADER is undefined in CFHTTP

Status
Not open for further replies.

cfprg

Programmer
Apr 14, 2004
38
US
Hi All,

I get this error.

[red]
Element RESPONSEHEADER is undefined in CFHTTP.
[/red]

when i dump cfhttp, i can see the struct for it.it seems o.k. i can see responseheader in the struct with corret value.

my http method is "get" and the following is the code i use..

[red]
<cfset params="accesskey=#accesskey#&action=login&login=#login#&password=#password#">
<cfhttp url="#baseurl#api/xml?#params#" method="get">
<cfset loginHeaders="#cfhttp.ResponseHeader#" />
[/red]

the above code used to work for my previous version of coldfusion. i changed to newer version of my coldfusion.

version is 6,1,0,63958.
operating system is Windows 2000

..I used to see struct for my Set-Cookie variable in ResponseHeader, when i used to dump cfhhtp for my previous version, but not now..

Any help is greatly appreciated. thanks in advance..

 
never mind..I figured it out..
 
I am having this same problem... Will you please post your solution to the forum? Thank you...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top