Duane
<cferror> in your application.cfm will do it.
Nick
-----Original Message-----
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 3:08 PM
To: CF-Talk
Subject: Trapping Errors from CFLocation
Is it possible to trap the "HTTP/1.0 404 Object Not Found" error when
cflocation goes to a page that does not exist? I tried this (CF4.5) with no
luck:
<cftry>
<cflocation url="http://someurl">
<cfcatch type="Any">
Sorry the requested site could not be loaded
</cfcatch>
</cftry>
Thx,
Duane Boudreau,
Applications Manager
AllVertical
Exeter, NH
603.658.4277
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists