Copy them to the request or another scope, then delete their reference
in the variables scope.

Something like:

<cfset request.function1 = cflibFunc>
<cfset structDelete(variables, "cflibFunc")>

I'm not sure if this will work exactly as I have written it, however.

One other solution is to store all of your page variables in a struct.
Then, you can dump only that struct and ignore all other
variables-scoped variables.

M!ke

-----Original Message-----
From: Damien McKenna [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 13, 2004 1:10 PM
To: CF-Talk
Subject: CFDUMP var=variables shows custom functions?

I have an error tracker on my code that emails me a dump of just about
everything.  Today, on one site, I started including all of the
CFLib.org files for all page requests rather than as needed.  Nice idea,
except that now my email error dumps are twenty times larger than
before, all because the UDFs are listed in the 'variables' portion of
the dump and list a complete function prototype.  While this may be
useful for some, I would prefer not to be receiving 1meg emails for each
error.  Is there any way to stop CFMX listing UDFs in the 'variables'
scope?
 
--
Damien McKenna - Web Developer - [EMAIL PROTECTED] The
Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include
<stdjoke.h>
 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187426
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to