Another option if you need more granular control is to take a look at CFX_HTTP5. It is wicked fast and has an extremely deep feature set. It's pretty easy to catch errors like these with CFX_HTTP5.
Todd > -----Original Message----- > From: Dave Watts [mailto:[EMAIL PROTECTED] > Sent: Friday, September 21, 2007 3:11 PM > To: CF-Talk > Subject: RE: Catching CFHTTP errors when a PC is off. > > > True... Bad example on my part. Let me rephrase then, what > is the best > > way to catch cfhttp errors then when a connection, for > whatever cannot > > be established? > > > > Perhaps <cfif NOT isdefined("cfcatch.type")> or <cfif > cfcatch.type NEQ > > "COM.Allaire.ColdFusion.HTTPFailure"> > > > > I just want to be sure I am not missing something obvious. > > I have no idea offhand what specific exception type is thrown > when you have a connection failure. You can find out by > simply trying to connect to some machine that's not running > an HTTP server, catching and finally displaying the exception type. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber > vendor-authorized instruction at our training centers in > Washington DC, Atlanta, Chicago, Baltimore, Northern > Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

