Jaime,

If you have the time, maybe you can offer an opinion on a semi-related question 
..

Most of my application pages are very siteUser-centric.  By that I mean they 
personalize or filter the information displayed based on id of the current 
user. 

In my database I have a siteUser table and most of the other objects have two 
standard columns:  CreatedBy and ModifiedBy (FK - SiteUserID).  So most of my 
Gateway/dao objects will need to know the current SiteUserID. I'm not sure 
what's the best way to handle it.  

The application uses a session variables to store the current user information 
(session.siteUser).  So I was thinking of using a session facade 
(SiteUserFacade) and passing it into all of my Gateway/dao objects. But 
again... I'm not sure that's the way to go.  

Any thoughts or opinions would be appreciated.

Janet


--
 
---------------------------------
Sucker-punch spam with award-winning protection.
 Try the free Yahoo! Mail Beta.

You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

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

Reply via email to