if (waspSession.logoff(getLogoffContext()))
{
// homepage is not allowed anymore so we end up at the
// loginpage
setResponsePage(Application.get().getHomePage());
waspSession.invalidate();
}
else
error("A problem occured during the logoff process, please try again or contact support");
}
};