b1nary0mega
6/8/2015 - 1:14 PM

From http://www.bennadel.com/blog/932-ask-ben-handling-errors-with-coldfusion-cferror.htm

<!--- Kill extra output. --->
<cfsilent>
 
    <!--- Define the application settings. --->
    <cfapplication
        name="ErrorHandlingDemo"
        applicationtimeout="#CreateTimeSpan( 0, 0, 1, 0 )#"
        sessionmanagement="true"
        sessiontimeout="#CreateTimeSpan( 0, 0, 1, 0 )#"
        setclientcookies="true"
        />
 
    <!--- Define the page request settigs. --->
    <cfsetting
        requesttimeout="20"
        showdebugoutput="false"
        />
 
    <!--- Define erorr handling template. --->
    <cferror
        type="exception"
        template="./cferror.cfm"
        />
 
    <!--- Include functions. --->
    <cfinclude template="functions.cfm" />
 
</cfsilent>