Just following up on our IRC conversation (which happened after this email) so others can see my response. I was able to find a description of the session-timeout setting in the XSD here: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/javax/servlet/resources/web-common_3_1.xsd?view=markup#l865
The description there states the following: "If the timeout is 0 or less, the container ensures the default behaviour of sessions is never to time out." So if you set it lower than zero, you're letting the session live forever (even after the browser closes). On Tue, Aug 30, 2016 at 1:26 PM, Jonathan Carpenter <jonathan.carpen...@gmail.com> wrote: > I have a Tomcat8 (CentOS 7) question. In web.xml under <session-config> > --> <session-timeout> I seen a post on stackoverflow that you can set this > to -1 to keep the session open until the browser is closed. However I > cannot find this in the documentation. Can anyone verify this or point me > in the correct direction for a documented solution. The issue is after 30 > minutes the session times out as configured, but anything over 30 does not > work. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org