0 Replies Latest reply on Jan 24, 2007 12:41 PM by holgerprause

    logoff question

    holgerprause Newbie

      Hello,i have problems with my logoff action, i need to set the user object to null.

      The code below dont works (i also made sure theres no seam component with name "user")


      @Stateless
      @Name("logoff")
      public class LogoffAction implements Logoff {
      
       @In
       @Out(required=false)
       Member user;
      
       public String logoff() {
       Seam.invalidateSession();
       user = null;
      
       // TODO Auto-generated method stub
       return "logoffsuccess";
       }
      
      }