The rest of that paragraph (# 2) has the answer: > > I am createing an object out of the messageHandler in every dao when > > the dao object is created and then the same messageHandler object is > > being reused over and over. I am bringing it into each method like so > > <cfset VAR mh = getMH() /> and getMH() just returns the reference to > > the object.
Single instance per DAO, and getMH() returns a _reference_ to that per-DAO instance. So the concurrency issue is there in all it's potentially catastrophic glory. cheers, barneyb On 10/25/05, Sean Corfield <[EMAIL PROTECTED]> wrote: > It's a little hard to figure out what you're doing without seeing your code... > > <cfset VAR mh = getMH() /> > > That creates a local reference to whatever getMH() returns. We'd need > to see the body of getMH() to answer the rest of your questions I > think. > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ---------------------------------------------------------- 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]
