Difference between revisions of "How to Enable Robust Exceptions on a per Site basis in ColdFusion"

From Hostek.com Wiki
Jump to: navigation, search
(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...")
 
(Remove incorrect information.)
Line 1: Line 1:
 
In circumstances when you need to enable robust exceptions for a site, here are the steps needed:
 
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:
+
You can configure this at the site level within your Application.cfc using the "this.EnableRobustException" property:
  
 
https://helpx.adobe.com/coldfusion/cfml-reference/application-cfc-reference/application-variables.html
 
https://helpx.adobe.com/coldfusion/cfml-reference/application-cfc-reference/application-variables.html
Line 10: Line 10:
 
     <cfset this.Name = "My Application Name" />
 
     <cfset this.Name = "My Application Name" />
 
     <cfset this.EnableRobustException = "True" />
 
     <cfset this.EnableRobustException = "True" />
    <cfset this.DebuggingIPAddress = "123.123.123.123" />
 
 
  </cfcomponent>
 
  </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.
 

Revision as of 19:21, 26 March 2018

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.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" />
</cfcomponent>