I think part of the problem, if I am not mistaken, is that cflocation acts
like cfabort when it is executed, causing any code below it to NOT be
executed.


J.J. Merrick
Sage Global Technologies
Nashville, TN

----- Original Message -----
From: "Duane Boudreau" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 9:08 AM
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to