I surround every template with try catch and call a custom tag/module within
the catch. The module serializes the session, cgi,url,form,request,error and
client structs stuffs them in the error_log table and mails the designated
admin a summary of the error and a hot link to the page that desirialzes all
the stucts and dumps them to screen. The modulue then displays some generic
message to the user. It eliminates the need for the user to take action. The
only information missing is the variables scope. If you needed that you
could handle it on a page by page basis.
°¿°
 ~
Don Vawter

----- Original Message -----
From: "Eric J Hoffman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, February 03, 2002 7:36 AM
Subject: Error Handling


> We have just a weird little bug affecting maybe 1 of every 100 purchases
on
> a site..and we always get back "it was an error, I dunno" even though the
> page asks the user to copy and paste and send to the provided email link.
>
> Within cftry/catch, can you use cfmail to fire us a mail, and on an
overall
> error page site in the application file, I understand (perhaps from years
> ago) that you cannot execute any cfcode on that page...how have others
> handled this?
>
> Regards,
>
> Eric J. Hoffman
> Director of Internet Development
> DataStream Connexion, LLC
> (formerly Small Dog Design)
>
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to