You can check if the session timed out without any Shiro specific code.
Call HttpServletRequest#getRequestedSessionId() to check if the
browser sent a session ID, and call
HttpServletRequest#isRequestedSessionIdValid() to check if the session
ID the browser sent is valid.
if (request.getRequestedSessionId() != null
&& !request.isRequestedSessionIdValid())
{
// The session timed out.
}
On Tue, Apr 16, 2013 at 11:02 AM, dgv <[email protected]> wrote:
> did you solve for this? I am looking for a similar solution too.
>
>
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/Custom-message-on-session-timeout-tp6834760p7578590.html
> Sent from the Shiro User mailing list archive at Nabble.com.