4 Replies Latest reply on Sep 10, 2009 10:04 AM by frisch

    meta tag refresh doesn't work correctly with a4j link

    frisch

      Hello


      I have the following problem:
      I use

      <meta http-equiv="refresh" content="#{session.maxInactiveInterval +5}; url=/timeout_login.html"/>

      to redirect the user to a timeout page after a certain interval. It works perfectly except when I use <a4j:commandLink> or <a4j:commandButton> the session doesn't expire when it's supposed to. I am redirected on my timeout_login.xhtml page but if i refresh the page the index.xhtml page is displayed and I am still logged in. Does anybody have an idea or maybe a workaround?


      Thanks