Vaadin and Spring: Replace "Session Expired" message with auto reload

Hi there,
I want to replace the “Session Expired” message in my Vaadin + Spring application with an auto reload of the page, so that no user interaction is needed.
Do you know how to achieve that?

Best regards,
Nils

I think you should be able to do this by setting a custom SystemMessagesProvider or alternatively adding a SessionDestroyListener and navigating the user from there.

https://vaadin.com/docs/framework/application/application-errors.html
https://vaadin.com/docs/framework/application/application-lifecycle.html

Hi,
thank you for the answear. But how can I Override the sessionDestroy method in a spring application?

#push