> 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.
Within the error handler you use with CFERROR TYPE="REQUEST", you cannot
include any CFML code. This will cause the error handler to simply not run
at all, and you will get the raw error page that CF generates for unhandled
errors. You can only include references to variables within the Error scope.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203771
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54