Say you have a CFC with 6 functions. Each function has a structure like
this:

<cffunction>
<cfset var q = "">

<cfquery name="q" datasource="#application.dsn#"
cachedwithin="#CreateTimeSpan(1,0,0,0)#">
sql stuff here.
</cfquery>

<cfreturn q>
</cffunction>

Because each query is named "q" and cached, does "q" get overwritten as
different functions are called? Not sure exactly how this works with CFCs.
Thanks, Che



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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

Reply via email to