Sounds like maxAge is set incorrectly. I am not sure what the default is, but here is my working excerpt from shiro.ini:
---------------- # following 2 lines due Rest security not having a rememberMe manager rememberMeManager = org.apache.shiro.web.mgt.CookieRememberMeManager securityManager.rememberMeManager = $rememberMeManager ## # Remember Me - set cookie expiry for 2 weeks securityManager.rememberMeManager.cookie.maxAge = 1209600 -------------- On Mar 26, 2015, at 5:39 PM, darionis2 wrote: > I have a problem with "rememberme" cookie, actually it is not persisted in > the browser. I inspected server's response and cookie is set, but when I > restart the browser, I have to log-in again. > > I tried with firefox and chrome, both browser are configured to accept > cookies, and remeberme works with other sites, forums, etc. But shiro's > cookie is just not persisted, I can not find it in the browser's cookie > manger. > > Any help, please? > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/remember-me-cookie-tp7580494.html > Sent from the Shiro User mailing list archive at Nabble.com. >
