Sean,
When I say "clean up objects once they're no longer in use", I mean more
than deleting them. I have several actions I need to do prior to deleting
the object. I also need to be able to check all session objects for various
things.
-Nelson
----- Original Message -----
From: "Sean A Corfield" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 4:53 PM
Subject: Re: [CFCDev] CFCs in Application vs. Session scope
> On Thursday, May 29, 2003, at 08:08 US/Pacific, Nelson Winters wrote:
> > I'm working on an application in which I'm instantiating a CFC for
> > each user
> > in the Application scope:
> >
> > application.Users["#CFID#_#CFTOKEN#"] = createObject('component',
> > 'path_to_my_cfc.cfc_filename');
>
> I'm puzzled as to why you don't just use session scope and let CF clean
> up objects once they're no longer in use. Why make so much work for
> yourself when the system will do it automatically for you?
>
> Sean A Corfield -- http://www.corfield.org/blog/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
> in the message of the email.
>
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
>
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).