I am using Vaadin 7.1.7 and I can't figure out how to set session-timeout
parameter (to, say, 1min).
As far as I can tell, Vaadin 7.x.x does not produce web.xml
, it uses @VaadinServletConfiguration
annotation but there doesn't seem to be a session-timeout
parameter.
As far as I know there are 2 ways to set session-timeout in Vaadin 7.
In the web.xml:
Or we can set it programmatically (current session only):
It seems the servlet 3.0 annotations do not help: link
More help here: link