Thank you very much for the answer, it helps me a lot. I thought that to ask the DB for the user every request would be unappropiate but I see it much better than store it in a cookie. I didn't know that my user object was being serialized and store in the cookie and now a I can see the source of my problem. I had decided to do it the way you explain, but now I know why this is a better approach.
Thank you for improving my code too, I didn't realize I can call the Realm getName(). Regards, Juan -- View this message in context: http://n2.nabble.com/Remember-me-problems-with-object-in-SimpleAccount-tp4817122p4823850.html Sent from the Shiro User mailing list archive at Nabble.com.
