I've got an example of a Session Facade (or Session Proxy?) on my site: http://www.iknowkungfoo.com/blog/index.cfm/2007/2/12/Using-a-Session-Facade-to-handle-evolving-session-variables
--- Adrian >In general, yes. The exceptions are if you have a method specifically meant >to encapsulate access session scope so that other methods in the object can >get to that data (i.e. a getCurrentUser() method in a UserService), or if >you create a dedicated SessionProxy object that other objects use to access >data in the session scope. > >On Thu, May 20, 2010 at 8:04 AM, Matthew P. Smith ><m...@smithwebdesign.net>wrote: > >> >> Is it a bad practice to have a cfc access a session variable? Should the >> session variable be passed in as an argument instead? >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333863 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm