On 21/03/2011 08:52, Felix Schumacher wrote:
> On Sun, 20 Mar 2011 22:26:46 +0100, André Warnier wrote:

You are both right on some counts and both wrong on some counts.

The Servlet spec (section 7.6 in Servlet 3.0) requires that processing a
request associated with a session (i.e. has a session ID) updates the
sessions access time.

Since this is can be viewed as inefficient, it is disabled by default.
In 5.5.x and 6.0.x it is enabled by the use of the
org.apache.catalina.STRICT_SERVLET_COMPLIANCE system property.

In Tomcat 7.0.x, there is a separate
org.apache.catalina.core.StandardHostValve.ACCESS_SESSION property
although the default is changed by
org.apache.catalina.STRICT_SERVLET_COMPLIANCE

This is all documented in the Tomcat 6 and Tomcat 7 docs:
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html
http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to