1 Reply Latest reply on Nov 28, 2006 7:33 PM by ellenzhao

    Best Practice for Handling Redirect After Login

    djeverson

      We provide to sites outside of our domain a URL to our SEAM application. This URL contains query parameters such as www.domain.com/page.seam?regId=19293. The page in the URL is secure and requires login. If the user is not logged in, they are redirected to the login page. However after doing the login, they are taken to the main landing page. We would like for the user to be taken the page.seam?regId=19293 (the original page and query parameters that they requested).

      What is the best practice for handling this in SEAM?

        • 1. Re: Best Practice for Handling Redirect After Login
          ellenzhao

          I'm not sure whether I really understand your "We provide to sites outside of our domain a URL to our SEAM application".

          But I know there are surely possibilities to take the user directly back to a particular page after login. I implemented it with pageflow in jpdl and it works like charm. The login is a stateless session bean. All the buttons/links on the login page trigger actions described in the pageflow descriptor.