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:


http://vaadin.com/forum/-/message_boards/message/37478