PDA

View Full Version : How To Disable Robust Exception Information on Sites



jakeh
April 17th, 2012, 10:34 AM
To disable Robust Exception Information on a ColdFusion site, you will need to add the following to the top of your Application.cfc file:

<cfset this.enablerobustexception = false />

Additionally, you can keep Robust Exception Information enabled, but restrict it to specific IPs by using the following code instead:

<cfset this.debuggingIPAddresses = "Comma,Separated,list,of,IP,addresses" />
<cfset this.enablerobustexception = true />

After making the required adjustments to the Application.cfc file, you will need to restart your ColdFusion application as shown in this forum post (http://forum.hostek.com/showthread.php?646-How-to-restart-your-ColdFusion-application).


References:

Brian Klaas's Blog (http://www.iterateme.com/blog/index.cfm/2009/10/15/Programmatically-Enabling-Robust-Exception-Handling-in-CF9)