Ian, That question is a bit vague... Remember any data in a CFC only persists for the duration of the page request. To have it perists longer, you can load it into the session scope for instance.
----- Original Message ----- From: "Ian Skinner" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 2:30 PM Subject: RE: CFC Newbie Discussion. > So what is the Preferred way to store data for a CFC? > > -------------- > Ian Skinner > Web Programmer > BloodSource > Sacramento, CA > > > -----Original Message----- > From: Raymond Camden [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 11:20 AM > To: CF-Talk > Subject: RE: CFC Newbie Discussion. > > > While I strongly urge folks to not use the This scope, I would _not_ > call it a bug. The This scope works _exactly_ as advertised, it's just > not the preferred way of storing data for a CFC. > > -Raymond Camen > > > > > Let me point out the scope bug... > > > > using "this" scope exposes your data members outside of the > > cfc. In addition, the varibales scope is not the default for > > not providing a scope within a CFC. There is something known > > as the "unknown" scope. This unknown scope allows data > > members to be available to functions within the CFC... not outside of. > > > > this.someVar would be accessible inside and outside of the > > CFC someVar would be accessible inside the CFC to the functions only. > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

