Hi
I'm having some problem with my application. I use Shiro in a Spring MVC
application much like the sample included with Shiro. I use Shiro session,
and I store some logged user data in it (user ID, company that user belongs
to, etc), but sometimes my app seem to be losing its session, like a
timeout, but without long inactive periods. I notice it quickly because my
header pages contain the name of the user and its company name, and they
suddenly are gone, even though I remain authenticated (<shiro:principal/>
still returns the user principal).
I don't know where I am missing some config to make the session last
longer... how can I handle it?
Moreover, does Shiro provide any facility to handle session timeout, and
maybe redirect to some warning page?

Thanks!

Reply via email to