Hi,
I want to store a UDF in the application scope. Anyone know a trick to this
and/or any issues regarding it? Here's what I tried that didn't work:
<cfscript>
function MyFunc() { ...function definition... }
</cfscript>
<CFLOCK SCOPE="application" TYPE="exclusive" TIMEOUT="10">
<CFSET application.MyFunc = MyFunc >
</CFLOCK>
I get a "MyFunc" doesn't exist error. I'm sure there's a trick to this, but I
haven't found it yet.
Thanks,
Dave
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218030
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