Strange behavior with CFdump.
I wrote some code something like this.
<cftry>
<cfquery....
.../cfquery>
<cfcatch type="database">
<cfmail to="[EMAIL PROTECTED]"
from="[EMAIL PROTECTED]" subject="Database Error">
<cfdump var="#cfcatch#>
</cfmail>
</cfcatch>
</cftry>
<html>
... some html...
<cfoutput>#aVariable#</cfoutput>
... more html ...
</html>
What happened was that if an error occurred, and the cfmail was generated
with the cfdump in it, the html in the rest of the page would not be passed
to the client, but variables in <cfoutput> tags would. Almost like a
<cfsetting enableCFoutputOnly ="yes"> was in place. Does this make sense,
should this be happening?
--------------
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4