Real simple.

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.

Don't use CFINVOKE


do this instead

<cfscript>
    variables.args            =    StructNew();
    variables.args.UserID    =    variables.UserID;
    getWebCartDetails        =
Application.cartCFC.getCart(argumentCollection=variables.args);
</cfscript>

On Tue, Jul 1, 2008 at 1:54 PM, Ian Rutherford <[EMAIL PROTECTED]>
wrote:

> Oh, here is the call I'm making which appears to be calling the correct cfc
>
> <cfinvoke component="#Application.cartCFC#" method="getCart"
> returnvariable="getWebCartDetails">
>        <cfinvokeargument name="UserID" value="#variables.UserID#">
> </cfinvoke>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:308424
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