Haven't played around with this myself, so can't advise. The Shiro mailing list might be a good place to ask. A quick google on StackOverflow also threw up [1], which might help
Dan [1] http://stackoverflow.com/questions/17556787/shiro-resets-the-session-after-2-min On 2 July 2014 11:29, Erik de Hair <[email protected]> wrote: > Hi, > > How to configure the session timeout of the web app? I tried to set the > session time out in web.xml and in shiro.ini but both have no effect. The > cookie expires in a month... > > My additional shiro-config (tried to let it expire in 1 minute): > > [main] > ... > sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager > # 3,600,000 milliseconds = 1 hour > sessionManager.globalSessionTimeout = 60000 > securityManager.sessionManager = $sessionManager > > > Thanks, > Erik >
