On Tuesday, June 10, 2003, at 02:20 PM, Raymond Camden wrote: > 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 is correct. It is not a bug -- it's just how CFCs were designed to work. If you need data publicly accessible, use of the "this" scope is fine. If you need your data to be private, either use the "unnamed" scope, or create your own private struct. I would recommend keeping data as private as possible, however if you don't feel you need to, or it doesn't fit with your architecture, then do what is best for you. Christian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4