cfhttp.responseHeader

2003-08-14 Thread Jim McAtee
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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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



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



CFHTTP.ResponseHeader[http_hd_key]

2001-08-08 Thread BT





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





~~
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



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



cfhttp.responseheader

2000-12-21 Thread Tracy Bost

After writing an application that depends on the cfhttp.responseheader to find 
attributes returned in a cookie, all of a sudden, nothing
returns. no cfhttp.filecontent, nothing. The folks on the other end insist they 
haven't changed anything, although I have tried it with different browsers, cold 
fusion servers in different locations.  I'm not getting any connection failure errors 
or anything like that. Its just returning a completely blank page. Please someone help 
!


Thanks,
  Tracy


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



cfhttp.responseheader

2000-07-19 Thread Craig M. Rosenblum

I'm having trouble getting those to work...

any ideas?

!
This example shows the use of CFHTTP to pull information from a web page.
---
HTML
HEAD
TITLE
CFHTTP Example
/TITLE
/HEAD

BODY
H3CFHTTP Example/H3

PThis example shows the ability of CFHTTP to pull
the contents of a web page from the Internet, and shows how
you can get the following information by using CFHTTP variables:
/P
UL
LIdisplay the page (fileContent)
LIderive the MIME type of the page (mimeType)
LIfind the header responses (responseHeader).
/UL

CFHTTP
URL = "http://www.allaire.com"
resolveurl = Yes
throwonerror = Yes

/CFHTTP

CFOUTPUT
H3BThe mime-type:/B/H3BR
#cfhttp.mimetype#BR

/CFOUTPUT

H3BOutput the Response Headers:/B/H3BR
HR

CFLOOP collection=#CFHTTP.RESPONSEHEADER# item="httpHeader"
CFSET value = CFHTTP.RESPONSEHEADER[httpHeader]
CFIF IsSimpleValue(value)
CFOUTPUT
#httpHeader# : #value#BR
/CFOUTPUT
CFELSE
CFLOOP index="counter" from=1 to=#ArrayLen(value)#
CFOUTPUT
#httpHeader# : #value[counter]#BR
/CFOUTPUT
/CFLOOP
/CFIF
/CFLOOP

/BODY
/HTML
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.