Not to mention the OnError event in Application.cfc ....

- Calvin

-----Original Message-----
From: Kevin Graeme [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 20, 2005 1:16 PM
To: CF-Talk
Subject: RE: Site (not Server) - wide Error Handler

And of course, you can have different .cfm error handlers for the two types
of errors if you like.

---
Kevin Graeme
Cooperative Extension Technology Services
University of Wisconsin-Extension
 

> -----Original Message-----
> From: Adkins, Randy [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 20, 2005 11:09 AM
> To: CF-Talk
> Subject: RE: Site (not Server) - wide Error Handler
> 
> Thanks,
> 
> That's exactly what I needed! Much appreciated
>  
> 
> -----Original Message-----
> From: Ryan Duckworth [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 20, 2005 12:59 PM
> To: CF-Talk
> Subject: RE: Site (not Server) - wide Error Handler
> 
> In Application.cfm:
> 
>       <cferror type="EXCEPTION" template=" errorHandler.cfm">
>       <cferror type="REQUEST" template=" errorHandler.cfm">
> 
> In errorHandler.cfm:
> 
> <cfmail from="[EMAIL PROTECTED]" to="[EMAIL PROTECTED]"
> subject="[ERROR] - SiteName" type="HTML"> <h3>ERROR</h3> 
> <cfdump var="#ERROR#">
> 
> <h3>CGI</h3>
> <cfdump var="#cgi#">
> 
> <h3>FORM</h3>
> <cfdump var="#form#">
> 
> <cfif isdefined("session")>
>       <h3>SESSION</h3>
>       <cfdump var="#session#">
> </cfif>
> 
> </cfmail>
> 
> <cfinclude template="header.cfm">
> 
> <h3 align="center">A possible error has been detected and 
> reported to the administrator.</h3>
> 
> <cfinclude template="footer.cfm">
> 
> Note: you need both the Exception and Request... The Request 
> will catch things the exception does not.
> 
> Ryan Duckworth
> Macromedia ColdFusion Certified Professional Uhlig Communications
> 10983 Granada Lane
> Overland Park, KS 66211
> (913) 754-4272
> 
>   ----- Original Message -----
>   From: Adkins, Randy
>   To: CF-Talk
>   Sent: Wednesday, April 20, 2005 6:28 PM
>   Subject: Site (not Server) - wide Error Handler
> 
> 
>   What's the best approach to using a site-wide (not server-wide)
>   error handler as apposed to wrapping each piece with a CFTRY?
>    
>   An initial thought is some type of CFTRY statement within the
>   Application tag, but wanted other opinions and approaches.
> 
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203739
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to