Consider following situation. User is logging into web application. What to store in session?
1. User object - it can be a large one (about 30 attributes, Strings, associated Objects). In this situation will be only one request to database (on user logon). Then all data will be taken from this object. 2. Put in session only user unique identifier (key) and then load neccessary data from database only when it's requested. Which one is better approach? md -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

