I was already using a URL.debug flag to turn off all of my cfdump statements
This would be at the top of the page:
<cfif IsDefined("Url.Debug")><cfset Debug=Url.Debug><cfelse><cfset
Debug=0></cfif>
And then I wrapped any dump statements with a cfif check. If the URL was
left blank, debugging would be off, if you had ?debug=1, then it would show:
<cfif Debug><cfdump var="#qryName#" label="a label"><br></cfif>
Adding the <cfsetting> tag worked well, here is what I did (thanks Bruce, I
forgot about the tag!)
Top of page:
<cfsetting showDebugOutput = "No">
<cfset tickBegin = GetTickCount()>
Bottom of page:
<cfset tickEnd = GetTickCount()>
<cfset loopTime = tickEnd - tickBegin>
<cfoutput><br>Processing Time = #loopTime#ms</cfoutput>
========================================================Kansas City ColdFusion User
Group's website & listserv is
hosted through the generous support of Clickdoug.com
To send email to the list, email [EMAIL PROTECTED]
To subscribe or unsubscribe, send an email to [EMAIL PROTECTED] with your request.
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1.
=====================================================