Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Redirect after app closes not haapen if session expires.

Kamil Szabo
1 decade ago Aug 09, 2010 12:03pm
John Ahlroos
1 decade ago Aug 09, 2010 12:34pm

Yes, it is the correct behavior. To forward to an url when the session expires you should override getSystemMessages in Application like so:

public static SystemMessages getSystemMessages() {
        CustomizedSystemMessages csm = new CustomizedSystemMessages();
        csm.setSessionExpiredURL("http://theurltoforwardto.com");
        return csm;
    }
R.A. Hasintha
1 decade ago Aug 12, 2010 9:55am
Kunal D
1 decade ago Aug 19, 2010 9:57pm