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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
Redirect to root url?
hi guys i have a simple login application.whenever a user login to the app, a view is shown and the url look something like below
localhost:8080/app/#!loogedin
what i wanted to do whenever user logout, the application should load the root url something like this
localhost:8080/app/
what should i do now.
Last updated on
As you anyhow what to end and clear up the session when doing logout, you can just do getSesstion().close() or VaadinSession.getCurrent().close(). If you have not set the logout URL, it simply reloads the UI with the base URL.
Last updated on
You cannot reply to this thread.