0 Replies Latest reply on Jun 17, 2009 10:05 PM by Arbi Sookazian

    handling session timeout with multiple tabs

    Arbi Sookazian Master

      There is a long wiki post by CBauer on this topic: http://blog.hibernate.org/3266.lace


      We have a simpler implementation using the following html snippet in our master.xhtml:


      <meta http-equiv="refresh" content="1800;url=/BETS/sessionExpired.seam" />



      So it works fine when there is one session and one LRC (one browser instance and one tab).  I had two tabs open in the same session instance and executed use cases on both (two LRCs running, one per tab).  When I came back from lunch, the session had timed out after 30 mins of no activity.  The first tab was redirected to sessionExpired.xhtml, the other one was not.  Ideally, we'd like all tabs to be re-directed to that xhtml page, correct?


      So what's the best/easiest way to handle multi-tab session timeouts?  thx.