0 Replies Latest reply on Oct 13, 2009 6:43 PM by Francisco Jose Peredo Noguez

    How to demostrate that session timeout is accurate?

    Francisco Jose Peredo Noguez Master

      Hi!
      I am having this problem:
      The session of my application is configured to last 90 minutes in web.xml:


      <session-config>
         <session-timeout>90</session-timeout>
      </session-config>   
      



      But the users keep complaining that it expires at around 40 to 60 minutes.


      How can I be sure? Could it be that I need to tweak something in Seam/JSF so that it honors the 90 minutes timeout? Should I tweak the conversation timeot in components.xml?  Here is my current configuration:


      <core:manager concurrent-request-timeout="500"
                conversation-id-parameter="cid" conversation-timeout="120000" />
      



      Is there a way I could include a legend saying: This session was last used at XX:XX, and since XX have passed since then, it has now timed out ?


      And maybe make it throw an exception or redirect to a different page if a javax.faces.application.ViewExpiredException is thrown but the time since last action is smaller than 90 minutes?