You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by wu <wu...@rednano.sg> on 2010/07/02 05:49:58 UTC

WaspSession,can not get parameter inside

Dear all,

Please help me that:
public class AuthenticatedWebSession extends WaspSession
{
  private User user;
    public User getUser()
    {
        return user;
    }

    public void setUser(User user)
    {
        this.user = user;
    }
}

ALso , when i login , have set the value:

 ((AuthenticatedWebSession) Session.get()).setUser(authenticatedUser);

WHY sometimes, some accounts can not get user ? I mean  
((AuthenticatedWebSession) Session.get()).getUser() is null?

Thanks a lot,
 
Wu
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/WaspSession-can-not-get-parameter-inside-tp2275964p2275964.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org