I've tried the following line and unfortunately it doesn't work.
bind(Cookie.class).toInstance(new SimpleCookie("myCookie");
Regarding the global session time out, if we take for reference the INI
file, it appears to be set on SessionManager class :
securityManager.sessionManager.globalSessionTimeout = 36000000
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Native-session-and-custom-sessionDao-with-guice-tp7575633p7576861.html
Sent from the Shiro User mailing list archive at Nabble.com.