Right, all understood. What I was considering was doing the bigger work to create the thing once, in application scope, then (hopefully more easily) cloning it into the request scope for each request, so each request has its own independent object.
But isn't it true that saying request.MyCFC = application.MyCFC just gives the request var a pointer to the application instance? Not an independent copy? Is it possible to clone a CFC, create a completely independent copy? How? e > >> However, it does have instance data, so each request needs its > own copy, > > rule of thumb: > > if the instance data is per machine (all applications, all users) > - server scope > if the instance data is per application (all users) - application scope > if the instance data is per user it should go in session scope > (use sparingly) > if the instance data is per user per page - request or local scope > > so how does the instance dats get set? what's the "scope" of this > instance data? > > just a thought > barry.b ---------------------------------------------------------- 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]
