Do you manually put a CFTRY/CFCATCH block on every page, or use
application.cfm and onrequestend.cfm? Does this conflict with pages that
already have CFTRY/CFCATCH blocks?

I was actually dreaming up a very similar project, using CFERROR. I had
trouble getting it to work, but cftry would work much better.

Thanks

Norman Elton
Information Technology
College of William & Mary

-----Original Message-----
From: Eric Sobczak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:04 PM
To: CF-Server
Subject: RE: Cold Fusion Errors and reporting


We actually take it even farther sending the errors and pertinent info to
staff via e-mail and in the production environment we do this with the
ability for the user to request to be notified when the problem is fixed.
Allows us to provide fast resolution and notify clients when things are
fixed if they desire, minimizing the disconnect.

Eric

At 07:16 PM 3/22/2001 -0600, you wrote:
>I use cferror within the application.cfm file and I have never had a
problem.
>
>On the cferror page defined I push the user to a second page (using
>javascript) and store the basic information I may need to resolve their
>problem.  Page they were on, information they passed, time/date of day,
>user number if defined, error etc.  I also have a step within this page to
>email me telling me there was an error.  I would not suggest the email if
>you are in the development stage.
>
>It works out really well.
>
>kaigler
>
>
>
>At 04:58 PM 3/22/2001 -0800, you wrote:
> >I'd recomend to use cftry/catch around critical parts of your code only,
> >file uploads, queries etc.
> >
> >I'd also create an include file for actions to take on error for faster
> >coding.
> >
> >-----Original Message-----
> >From: Jim McAtee [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, March 22, 2001 4:57 PM
> >To: CF-Server
> >Subject: Re: Cold Fusion Errors and reporting
> >
> >
> >You mean all your CF code is contained within a <cftry> block?  Does this
> >entail much additional overhead?
> >
> >Jim
> >
> >
> >----- Original Message -----
> >From: "Eric Sobczak" <[EMAIL PROTECTED]>
> >To: "CF-Server" <[EMAIL PROTECTED]>
> >Sent: Thursday, March 22, 2001 5:41 PM
> >Subject: Re: Cold Fusion Errors and reporting
> >
> >
> > > Brian,
> > >
> > > We use <CFTRY> and <CFCATCH> to catch all errors and e-mail them
directly
> > > to the developer in charge of the application, it increases
development
> > > efficiency and response to errors incredibly.
> > >
> > >
> > > Eric Sobczak, President
> > > [EMAIL PROTECTED]
> > > Enhanced Technologies Inc.
> > > http://www.enhtech.com
> > > 703-924-0301 or 800-368-3249
> > > 703-924-0302 Fax
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to