0 Replies Latest reply on Nov 22, 2012 7:45 AM by Beat Fluri

    Session-timeout ignored

    Beat Fluri Newbie



      I'm stuck in setting the session timeout for a HttpSession. What I tried so far:

      • Setting the session-timeout in the web.xml with a <session-config>...</session-config> configuration
      • Setting the session-timeout programmatically when a user logs-in by request.getSession().setMaxInactiveInterval(..)

      When I set the session-timeout to, e.g., 2 minutes, I'm still logged-in after 5 minutes.


      However, the session-inactivation works, because after a longer inactive time, I'm no longer logged-in.


      Could you please tell me how I should set the session-timeout when using Errai. In particular, I'd like to increase the timeout.