I was experimenting with a CFC that returns a struct. I tried setting the 
returnvariable directly to the application scope like this: 
<cfinvoke component="cfc.config" method="SetVariables" 
returnvariable="application">

I didn't think it would work, but it seems to - almost. If I cfdump 
#application.myvar#, for example, the value is displayed. But if I cfdump the 
entire application scope, the variables from the CFC are nowhere to be seen.

So my question is: is this a bad practise? Is there a reason not to the what 
I've done here? This is on 7.0.2, if that matters.

Thanks!
Kay.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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

Reply via email to