Re: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Sean Corfield
On 10/26/05, Andrew Scott [EMAIL PROTECTED] wrote: cfset Application.userFactory = CreateObject('component','com.framework.user') / Now through the code I will make reference to it like such. cfset Application.userFactory().AddUser(UserObject) / cfset

RE: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Kerry
cfset Application.userFactory = CreateObject(component,com.framework.user) / cfset Application.userFactory().AddUser(UserObject) / cfset Application.userFactory().DeleteUSer(UserObject) / bit confused by this code. 1) userFactory is not a function. 2) why is the factory performing

RE: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Andrew Scott
. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kerry Sent: Thursday, 27 October 2005 5:49 PM To: CFCDev@cfczone.org Subject: RE: [CFCDev] Race Conditions when scoped in the Application variable cfset Application.userFactory = CreateObject(component

RE: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Andrew Scott
October 2005 4:56 PM To: CFCDev@cfczone.org Subject: Re: [CFCDev] Race Conditions when scoped in the Application variable On 10/26/05, Andrew Scott [EMAIL PROTECTED] wrote: cfset Application.userFactory = CreateObject('component','com.framework.user') / Now through the code I will make reference

RE: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Kerry
()!--- return a new instance of the user object --- -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Andrew ScottSent: 27 October 2005 09:39To: CFCDev@cfczone.orgSubject: RE: [CFCDev] Race Conditions when scoped in the Application variable

RE: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Andrew Scott
Emerson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kerry Sent: Thursday, 27 October 2005 6:43 PM To: CFCDev@cfczone.org Subject: RE: [CFCDev] Race Conditions when scoped in the Application variable My main query was really why is the factory performing crud

RE: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread David Ross
Along those lines, why is variables.oUser adding and deleting users? -Dave [EMAIL PROTECTED] 10/27/05 3:48 AM cfset Application.userFactory = CreateObject('component',' com.framework.user') / cfset Application.userFactory().AddUser(UserObject) / cfset

Re: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Sean Corfield
On 10/27/05, Kerry [EMAIL PROTECTED] wrote: 2) why is the factory performing CRUD operations? the factory should return an instance of the user component? It is NOT doing CRUD. Everyone seems to have jumped on addUser() and deleteUser() without actually reading what Andrew said about the

RE: [CFCDev] Race Conditions when scoped in the Application variable

2005-10-27 Thread Andrew Scott
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield Sent: Friday, 28 October 2005 5:10 AM To: CFCDev@cfczone.org Subject: Re: [CFCDev] Race Conditions when scoped in the Application variable On 10/27/05, Kerry [EMAIL PROTECTED] wrote: 2) why is the factory performing CRUD operations