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.

That’s great - thanks very much, I’ll give it a try!