You are right, any properties you alter in an application scoped object will
be set for all users. If you need a copy for every user, the application
scope is the wrong place. The session scope is a per-user scope.

Try the Duplicate() function to get a copy from an instantiated object.
YMMV.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 19 February 2010 16:25, crippe crippe <[email protected]> wrote:

>
> Ah right, ok. So a follow up question:
>
> If I load CFC's into my application scope using create object, should they
> only contain methods and not properties, as any properties altered by one
> user would affect all other users accessing the cfc?
>
> Additionally, once you've instantiated a copy into the application scope,
> is their any way to instantiate a new copy from that copy, as CreateObject
> function seems to want the name of the CFC as oppossed to the actual cfc and
> what is loaded into application scope is the entire cfc object (without any
> kind of "name" string)?
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330935
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