I am using the session object to check if user has logged in and also which user that logged in. Problem is that the object looses this information after a while. Any ideas of how I can do this differently? Is cookies better to use in order to keep track of which user that is logged in? Any ideas?