Christopher, I'm not using "strict servlet compliance", still *I've tried setting * org.apache.catalina.core.StandardHostValve.ACCESS_SESSION system property to false in catalina properties but no luck. still the problem is same. Javascript heartbeat keeps the session alive only in tomcat 7 and higher versions.
On Thu, Jun 11, 2015 at 6:59 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Chedana, > > On 6/11/15 12:42 AM, chedana jayasinghe wrote: > > HI, In my web application, in a jsp there is a javascript which > > sends request to a servlet every twenty seconds, so it kills my > > applications user idle time tracking by resetting the lastAccessed > > time. the funny thing is lastAccessed time doesn't get updated in > > tomcat 6 and my applications idle time tracking works fine in it, > > but in 7 it gets updated and kills that functionality of the > > application . so I'm little bit confused about the changes in the > > session tracking of tomcat 6 and tomcat 7 > > Are you using "strict servlet compliance"? > > If so, you will want to set the > org.apache.catalina.core.StandardHostValve.ACCESS_SESSION system > property to false and re-try your tests. > > If you are upgrading from Tomcat 6 to Tomcat 7: > > 1. Don't bother going to 7.0.23 (almost 4 years old). Go all the way > up to 7.0.62. > > 2. You may want to skip Tomcat 7 altogether and go all the way up to > Tomcat 8.0.23. > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: GPGTools - http://gpgtools.org > > iQIcBAEBCAAGBQJVeY0sAAoJEBzwKT+lPKRYm+EP/jSazTxJiLm3oAMbZjiLaHuw > W3KLkJlaSZnbLEbUYxZuXjzZTCNcYtDSwLN9lH4GoLMjtyPJ1w8kF+zhl3KNslV5 > lY8FgX+5+pDQAbTktvazTdH7fHRDPFSGzwh1TU0O79U2ylPLLnbsZjbkEFKPS+xN > J7JcoMTeZUVDmjtDAV5rritWBtnM+BoYT1P1DAvGHbb/LK3aansZLyhsUT3Bs4Mq > z7sROsd8qANrUXcq5nN8tU+AJVuQ4OWUSuCZ56CrU80Dl+ebvhEPBWaQvved7n0E > h2cozrNV34Ru6P788xFNO2wgw4YXEbYoHLpZbPxMwKhQM8104TRpwRNKOBAck1ad > TrdZe6jIKl4Uq25A7n6s3e8PQJ5/kj795LYgaHCtDMaYNXZhGP6p3XVGEXrI4Tbh > agNY1g/4sQrgI0FaGaoIhrl8FwAKxeqn+sp7XU/FbxIEmB0NRPPFJQSSGfQVTFVm > 5AgjE01t8VbvCUo9NNpYkbZFBvskh+d/wulJfXHDoEMIlaFhHRsv+WkEwp7PTZOQ > 6TecTlOY5X6t/pke4Yk84GtS5RH6Lpd7C9+45rrBPR9Ew4/qJf/c9oWp2gzu9S99 > icAmQTcKmSOz4kCMxE4eGCPTQwQXfYkWPvoDlp6WuXusKOicRI90LXlHeA7+oeNg > X2or96Uy6Io+PIn3WtmW > =QmEw > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >