Trace: • Configuring Timeouts for Vaadin UI
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
applications:timeouts_vaadin [2020/07/03 14:04] cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
applications:timeouts_vaadin [2020/07/08 12:49] (current) cduncan Capitalization |
||
---|---|---|---|
Line 2: | Line 2: | ||
~~Title: Configuring Timeouts for Vaadin UI~~ | ~~Title: Configuring Timeouts for Vaadin UI~~ | ||
- | A JVx application has custom [[jvx:communication:timeouts|timeouts for master and sub session]]. The timeouts won't work if you use vaadin UI because a web application uses http session timeout. The [[https://vaadin.com/docs/-/part/framework/application/application-environment.html|Vaadin documentation]] contains information about //Session Timeout After User Inactivity//. | + | A JVx application has custom [[jvx:communication:timeouts|timeouts for master and sub session]]. The timeouts won't work if you use Vaadin UI because a web application uses http session timeout. The [[https://vaadin.com/docs/-/part/framework/application/application-environment.html|Vaadin documentation]] contains information about //Session Timeout After User Inactivity//. |
Our //WebApplicationSetup// implementation overrules the session timeout properties of config.xml by setting: | Our //WebApplicationSetup// implementation overrules the session timeout properties of config.xml by setting: | ||
Line 11: | Line 11: | ||
</file> | </file> | ||
- | If set to false, the timeouts will be set to -1 (= infinitly). | + | If set to false, the timeouts will be set to -1 (infinitly). |
This is the default behavior with WebApplicationSetup, but it's also possible to configure custom timeouts for master and sub session by adding the timeout constants: | This is the default behavior with WebApplicationSetup, but it's also possible to configure custom timeouts for master and sub session by adding the timeout constants: |