Yes Sean that is exactly the case, and being new to the concept naming conventions is a little off, so forgive me there.
Regards, Andrew Scott Quote of the Day: Deckard: I have had people walk out on me before, but not when I was being so charming. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield Sent: Friday, 28 October 2005 5:10 AM To: [email protected] 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? 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 application! There's no database stuff going on here. He has an in memory structure that keeps a record of currently 'logged in' / active users. When a user become active, he adds their details to the in-memory "userFactory" (bad name, I think) and when they become inactive, he deletes their details from the in-memory structure. Andrew, is that a correct summary of your scenario? ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
