Re: cfhttp.responseHeader

2003-08-10 Thread Jim McAtee
- Original Message - 
From: Dave Carabetta [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:28 AM
Subject: Re: cfhttp.responseHeader


 Anyone know offhand how to examine cfhttp.responseHeader to tell if the
 cfhttp
 operation has gotten a 404 error?

 Just cfdump #cfhttp# and you should be able to get all the info you want out
 of it, including the status code.


Thanks, Dave.  I need to read the docs a little better next time.  There's also
a cfhttp.statuscode field.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: cfhttp.responseHeader

2003-08-07 Thread Dave Carabetta
Anyone know offhand how to examine cfhttp.responseHeader to tell if the 
cfhttp
operation has gotten a 404 error?

Just cfdump #cfhttp# and you should be able to get all the info you want out 
of it, including the status code.

Regards,
Dave.

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: cfhttp.responseHeader

2003-08-07 Thread Sarsoun, Jeff
cfhttp.responseheader['status_code'] will give you the response code of 404.

Jeff

-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 1:15 PM
To: CF-Talk
Subject: cfhttp.responseHeader


Anyone know offhand how to examine cfhttp.responseHeader to tell if the cfhttp
operation has gotten a 404 error?

Thanks,
Jim


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFHTTP.ResponseHeader[http_hd_key]

2001-08-08 Thread Dave Watts

 Anyone used CFHTTP.ResponseHeader[http_hd_key]   
 What is this for?

Uh, it's for reading one or more of the response headers returned by the
remote server after a CFHTTP request.

You might use this for reading cookies, for example; cookies are set in the
HTTP response header. So, if you wanted to build a multi-step CFHTTP agent
which interacted with a server that required cookies, you'd send a CFHTTP
request, retrieve the cookie name and value from the response header, then
include it in every subsequent CFHTTP request using CFHTTPPARAM - which
unfortunately requires that subsequent requests use HTTP POST.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: (202) 797-5496
fax: (202) 797-5444


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists