Hi,
I have Object that performs not only registration/Login but also manages users after the log in. Does it make sense to store object of that class in session or I should only store userID on session and use that to Query DB? My Object will contain user details (Full name, Username et al).
Which makes more sense? If I'm not clear, please let me know. I'm trying to make usable User Management Class that I will be using in all My system for login/register and user management in general (ACL).
Thanks