I support a site where we do this based on client IP:

<cfset unblockedIPs = 'xx.xx.xxx.xx,yy.yy.yyy.yy'>
<cfif NOT ListFind(unblockedIPs, cgi.remote_addr)>
 <cferror...
</cfif>

So, it makes sense to me that you could override the site-wide error handler in 
the same way by changing the if to <cfif ListFind(unblockedIPs, 
cgi.remote_addr)>

Then in the template specified in the cferror tag you could dump out certain 
structures to help yourself find any errors.  

----------

Jake Churchill 
 Team Leader
11204 Davenport, Ste. 100
Omaha, NE  68154 
http://www.cfwebtools.com   
 402-408-3733 x103 

----------------------------------------

From: "James Smith" <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2007 4:46 AM
To: CF-Talk <cf-talk@houseoffusion.com>
Subject: Site-wide Error Handler 

Is there a way to override the Site-wide Error Handler for a specific
template? I ask because I need to test some code on our production server
due to some third party licensing issues but my errors are of course
obscured by our error handler. I don't want to turn it off globally as that
would interfere with the actual web site I just want something to avoid it
on this one template.

--
Jay

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 09/12/2007
11:06



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294447
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to