I was invoke session invalidate() function in my vaadin application. like following,
public void trigerLogoutEvents(MenuItem selectedItem) {
if (selectedItem.getText().contentEquals(“Logout”)) {
sessionInfo.invalidate();
}
and i also override close() method in my “MainForm” java class. like folowing
@Override
public void close() {
}
when i clicked the “Logout” button , it was not happen properly and also show session expired message.
but i want to redirect login page when i was clicked the “Logout” button.
How can I resolve these kind of scenario? Please help me… :huh: