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.
Remove session persist logic
Hi All,
I heard that session is persist by Vaadin application on server if server crashes.
I want to remove that feature.
Please help me where would i have to remove code from which java file.
Thanks and regards
Sureder Singh
Hi Surender,
Vaadin does not persist the session; Vaadin *uses* the HTTP Session, as provided to it by the application server (e.g. Tomcat).
If you wish to prevent the session being serialized to disk, you need to configure the application server appropriately. I've never had to do this, but I believe if you search this forum, Joonas has posted how to configure Tomcat not to persist sessions. Other app servers will need different configuration - I'm afraid it's a case of reading their manuals.
Cheers,
Charles.
Details on how to disable session persistence across Apache Tomcat restarts were discussed here: