How to Enable Robust Exceptions on a per Site basis in ColdFusion

From Hostek.com Wiki
Revision as of 02:23, 20 July 2017 by Briana (Talk | contribs) (Created page with "In circumstances when you need to enable robust exceptions for a site, here are the steps needed: You can configure this at the site level within your Application.cfc using t...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In circumstances when you need to enable robust exceptions for a site, here are the steps needed:

You can configure this at the site level within your Application.cfc using the "this.debuggingIPAddresses" property, and the "this.EnableRobustException" property:

https://helpx.adobe.com/coldfusion/cfml-reference/application-cfc-reference/application-variables.html

Example "Application.cfc" file:

<cfcomponent>
    <cfset this.Name = "My Application Name" />
    <cfset this.EnableRobustException = "True" />
    <cfset this.DebuggingIPAddress = "123.123.123.123" />
</cfcomponent>

Replace the 123.123.123.123 with your IP. This limits the robust exceptions to just your IP instead of all the site visitors.