Hey, there is no MOST efficient :)
The easiest and in a way safest is to wrap the index.cfm in a CFTRY with a
CFCATCH Any that redirects back to the index.cfm with a fuseaction=error to
display a nicely formatted error msg with links back to home page etc. (and
possibly some debug info displayed or emailed in the background to the
webmaster).
This does not replace the need to use CFTRY and CFCATCH around DB or other
operations that might fail, but it adds the safety net to catch all the
*unexpected* features (i.e. bugs ;-)
HTH,
Noam
----------
From: Rutger Boekhorst [SMTP:[EMAIL PROTECTED]]
Sent: Monday, 18 September 2000 16:24
To: [EMAIL PROTECTED]
Subject: error catching and fusebox
This is a multi-part message in MIME format.
------=_NextPart_000_00F9_01C0218C.DB0A5780
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
What is the most efficient and 'safe' way to use CFTRY and CFCATCH
in =
fusebox?
Rutger Boekhorst
--
L o o d v r i j
Internet- en intranetprodukties
-------------------------------
Veilingstraat 17
6827 AK Arnhem
telefoon: 026-4437137
fax: 026 4424623
http://www.loodvrij.nl
------=_NextPart_000_00F9_01C0218C.DB0A5780
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>What is the most efficient and
'safe' =
way to use=20
CFTRY and CFCATCH in fusebox?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Rutger Boekhorst</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--<BR>L o o d v r i j<BR>Internet-
en=20
intranetprodukties<BR>-------------------------------<BR>Veilingstraat=20
17<BR>6827 AK Arnhem<BR>telefoon: 026-4437137<BR>fax: 026
4424623<BR><A=20
href=3D"http://www.loodvrij.nl">http://www.loodvrij.nl</A></FONT></DIV></=
BODY></HTML>
------=_NextPart_000_00F9_01C0218C.DB0A5780--
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.