> > <cfinvoke component="#Application.cartCFC#" method="getCart"
> > returnvariable="getWebCartDetails">
> >        <cfinvokeargument name="UserID" value="#variables.UserID#"> 
> > </cfinvoke>
>
> Here you invoked the CFC and dropped it into the Application scope
> 
> When you use CFINVOKE, you are re-instantiating the CFC, thus 
> killing the one you already had open.

This is not correct. If you use CFINVOKE and set the COMPONENT attribute's
value to an existing CFC instance, as above, it will call the method of the
CFC instance in memory without reinstantiating anything.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308428
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