1 Reply Latest reply on Dec 7, 2006 1:28 PM by Charles (Chuck) Canning

    Logout guidance - previous values populating in page

    ngeadah Newbie

      I have a very simple "logout" function, built in the "Seam-way" I believe:

      link to logout:

      <s:link action="#{loginClient.logout}" view="/Login.seam" value="Logout"/>
      


      logout code:

       public String logout()
       {
       Authenticator.instance().unauthenticateSession();
       Seam.invalidateSession();
       return null;
       }
      


      Problem is: when the user is returned to the login page, the original values used to login still populate within the inputText fields. How does one make sure these values no longer show up? The session has been invalidated correctly which makes me wonder where these values are coming from in the first place!

      Thanks!