8 Replies Latest reply on Aug 21, 2007 2:46 AM by Uros Milivojevic

    Seam Remoting - ajax request after session expires

    Uros Milivojevic Newbie


      after session expires I can access bean with Seam Remoting (as I understand new bean is created). Problem is that other necessary beans are not there. I would like to redirect page from which ajax request is sent if session is expired.
      What is preferred way with Seam to handle this?
      I am thinking to extend ResourceServlet and return something like:

      <redirectPage to="/login.jsf"> <-- This is important part

      if session is expired. But can I intercept Seam Remoting response in javascript?