I agree, however caching the component itself does not make a differance for some 
reason.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Nathan Dintenfass
Sent: Friday, October 17, 2003 9:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Initialize only once


Yes -- instance variables last only as long as the instance does.  Thus, if
the instance is not cached from request to request the instance vars will
not be cached.  You will need either put the variables in a shared memory
scope (not suggested), put the instance in a shared memory scope (very
acceptable), or use some other component/variable in a shared memory scope
that you pass to your component when you init().


----------------------------------------------------------
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).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to