Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Auto-refresh session without prompt
Hi all,
When the vaadin session expires, you get a red popup with a link to refresh the window and get a new session. Is it possible to eliminate the popup, and just refresh the session automatically if a user clicks a link and the session has already expired?
If not, would you consider adding this? The red popup gets a little bit annoying!
(Btw I'm a big fan of Vaadin - great job all!)
Cheers,
Francis
As far as I know it would be sufficient to inherit from Application and to provide your own public static getSystemMessages()-method. There you can use
CustomizedSystemMessages msgs = new CustomizedSystemMessages();
msgs.setSessionExpiredNotificationEnabled(false);
to disable the red popup. If I remember correctly, the page will then just get reloaded on session-lost.