You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Francois Meillet <fr...@gmail.com> on 2014/12/15 16:59:32 UTC
session invalidateNow vs invalidate
just a reminder
session invalidateNow vs invalidate
if session#invalidateNow is called before a setResponsepage
then the application#sessionUnbound is called twice.
as invalidateNow is invoked in session#detach.
ko
getSession().invalidateNow();
setResponsePage(Logout.class);
ok
# Invalidates this session at the end of the current request
getSession().invalidate();
setResponsePage(Logout.class);
François Meillet
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org