1 Reply Latest reply on Oct 12, 2009 7:23 AM by anbazhagan prasanna

    Session Expiry Handling

    Srinivas Chamarthi Newbie


      is there a way to handle portlet session expiry ? I want to handle session expiry in my portlet application.

      I think portal expires session first and the request doesn't even hit the portlet.

      or is there a session expiry even the portlet can register with ?

      appreciate any can kind of help in this regard

      thx & rgds,

        • 1. Re: Session Expiry Handling
          anbazhagan prasanna Newbie

          Jboss App Server V 4.2.2
          Jboss Portal - V 2.7.0
          DB - Mysql 5.0

          you should have the portal and portlet session time out as the same to get rid of this kind of problems.

          you should configure the session-timeout in the following web.xml.


          Here is an example setting timeout to 10 min.


          Note: Also please use java script to handle the session expiry on the client side.

          Please do specify the version of Jboss App server, and the portal server that you are using. Its just a rule of thumb to be followed, also its already mentioned in this forum.