>> What's the difference between private and protected? > > Private is only available to methods in that component. Protected is > available to any component in the same folder. In my opinion this assumes > you are using the package set up where your components are in folders like > /CFC/business/person/personBean.cfc > /CFC/business/person/personService.cfc > /CFC/business/person/personFoo.cfc > > Any of those components could access each other's protected methods. > Someone correct me if I am wrong, but I do not believe ColdFusion provides a > way to mark a variable as protected.
Someone correct me if I'm wrong too, but I don't think you can mark a function as protected. The four ACCESS attributes in CF8 are public, private, package and remote, and as Brian pointed out, you've described "package". Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

