1 Reply Latest reply on Mar 15, 2013 3:04 AM by Nicklas Karlsson

    Session time for the inactive time intervals not working in  jboss-as-7.1.1.Final

    Rudresh M R Newbie

      Hi Team, My JBoss Version is jboss-as-7.1.1.Final, in this am trying to set the session time out for the inactive time intervals,

      i fallowed these below approaches, but i falied to get the solution in my JSF application.

       

      1)    I am trying to session time out from the session configuration in web.xml file, but after creating a session by logging in, it never times out with this configuration.

      <session-config>

        <session-timeout>1</session-timeout>

      </session-config>

      2)    Second approach is with setting the session.setMaxInactiveInterval(300) in the session listener,  this will work with less than 30 seconds as expected, if I specified more than this will never called the session Destroyed listener and it never times out.

       

      Thanks

      Rudresh