[jboss-user] [JBoss Seam] - Logout guidance - previous values populating in page

ngeadah do-not-reply at jboss.com
Thu Dec 7 12:07:35 EST 2006


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!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992009#3992009

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992009



More information about the jboss-user mailing list