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.

Disable Session Timeout

Rajesh Thanga
10 years ago Mar 28, 2012 12:26pm

Hi sir,

My vaadin application needs to run 24*7/365 format . So I don't need Session timeout . How to disable ?

Thank you

Joonas Lehtinen
10 years ago Mar 28, 2012 1:03pm
Rajesh Thanga
10 years ago Apr 02, 2012 3:12am
Bobby Bissett
9 years ago Apr 18, 2012 9:18pm
David Wall
9 years ago Apr 18, 2012 9:38pm

I agree that it makes little sense. Most apps need to be available all the time, but to assume that a user will communicate with your app once, and then not do anything ever again to communicate with the server doesn't mean you need no session timeout, it implies you can timeout the session immediately. If your app instead gets more user interaction, the session timeout resets, so session timeout is just how long to wait with no communications with the client browser before you can assume they are gone.

Rajesh Thanga
9 years ago May 04, 2012 5:46am
Hugo Laibaças
9 years ago Aug 21, 2012 11:28pm
Charles Anthony
9 years ago Aug 22, 2012 7:53am

It needs to be added to WEB-INF/web.xml

Bobby Bissett
9 years ago Aug 23, 2012 6:02pm

And, again, you are guaranteeing that your server will run out of memory eventually. If you make it so that sessions never time out, make sure you plan to reboot your server every now and then.

Can I ask again: what are you hoping to accomplish with this? There's no reason to maintain a session for a user who isn't using it.

Cheers,
Bobby

Gugan Mohan
8 years ago Oct 22, 2013 7:51am
Agata Vackova
8 years ago Oct 22, 2013 8:53am
Gugan Mohan
8 years ago Oct 22, 2013 9:39am
peter voland
7 years ago Nov 27, 2014 6:00pm

This session expired nonsesne is driving my company to dump Vaadin. 
even demos suffer from this nonsense behavior....the reloading of the entire page and session expired red message
No other toolkit has this issue....see this

http://demo.vaadin.com/calendar

and compare to google calendar. the difference a deal breaker. how come the design of vaadin
makes it so obtrusive while the google calendar is so smooth. 

 

Gili Buzaglo
7 years ago Dec 14, 2014 7:02am
Julian Banaś
7 years ago Dec 19, 2014 1:51pm
Julian M
6 years ago Apr 20, 2015 3:50pm
Julian Banaś
6 years ago Apr 20, 2015 4:05pm
Julian M
6 years ago Apr 20, 2015 4:07pm
Nemanja Kostic
6 years ago May 21, 2015 7:41am
Yichun Zhao
4 years ago Sep 05, 2017 11:45pm
Benjamin Huygir
4 years ago Dec 11, 2017 5:33pm
Benjamin Huygir
4 years ago Dec 11, 2017 5:34pm
Benjamin Huygir
4 years ago Dec 11, 2017 5:36pm
Benjamin Huygir
4 years ago Dec 11, 2017 6:32pm
Goran Atanasovski
4 years ago Dec 11, 2017 6:40pm