3 Replies Latest reply on Jun 4, 2010 8:31 AM by Anitha Raj

    Logout handling

    I need a real name Newbie


      i am new to seam framework.
      we have an application done using seam framework.
      All our pages are in session scope.

      There is a logout button in all our pages.The logout is managed using identity.logout.

      So when a user clicks the logout from any page , he is directed to the login page.

      But the problem is that, when the browsers back button is clicked, user will get the page from where he logged out.And he can work also.I mean no security.

      Anyone know how to solve it???????

      plz help me.
      we are in great need.


        • 1. Re: Logout handling
          Nicklas Karlsson Master

          Show your pages.xml. Do you have login-required etc?

          • 2. Re: Logout handling
            Indu Sukumar Newbie

            Can you please share your code that u have done for logout of your application as i need to do kill all the sessions and redirect to the login page when logout button is clicked for my application

            • 3. Re: Logout handling
              Anitha Raj Newbie
              Hi all,

              I have the same problem as mentioned above. Clicking on browser's back button after log out will take the user to the previously viewed page from where he logged out. Please help me in this issue as this is an emergency.

              my pages.xml is here:

              <?xml version="1.0" encoding="UTF-8"?>
              <pages xmlns="http://jboss.com/products/seam/pages"
                     xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"


                  <page view-id="*">
                          <rule if-outcome="home">
                              <redirect view-id="/home.xhtml"/>