Looks OK. Upgrade to RC5.1. It is fixed. On Wed, Jun 29, 2011 at 11:40 AM, nino martinez wael <nino.martinez.w...@gmail.com> wrote: > Hi > > This does not work at all, my session are newer cleared.. Am I doing > something wrong or? > > add(new Link<Void>("logOut") { > @Override > public void onClick() { > getSession().invalidate(); > > setResponsePage(WicketApplication.get().getHomePage()); > > } > }); > > > Regards Nino > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org