Hi,
We have used memcached-session-manager for 3 years.
Recently I upgraded Tomcat to 7.0.68 and session timeout is not working correctly.
<session-config>
<session-timeout>480</session-timeout><!-- 480 minutes is 8 hours -->
</session-config>
I turned up the logging levels on both our Tomcat 8 servers to FINE level and found when my session was created and saved in memcached. Here's the logging statements.
26-Jul-2016 14:03:11.885 FINE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] de.javakaffee.web.msm.MemcachedSessionService.updateExpirationInMemcached Checking session 828AE41C3AA9B0BB52ADC3CE758EEA05:
- isValid: true
- isExpiring: false
- isBackupRunning: false
- isExpirationUpdateRunning: false
- wasAccessedSinceLastBackup: true
- memcachedExpirationTime: 1790
Hi Billy,
sorry, very busy atm, couldn't really work on my private inbox. I just had a look at the last related commit https://github.com/magro/memcached-session-manager/commit/eddf4c45c7a224516867a1b59f6610177a389ce1 - the change was similarly applied to tomcat 8.
The best would probably to have an automated test for this, as it seems there's none yet. Tomorrow I'm traveling and hopefully have time to look at this.
Which tomcat 8 are you currently running?
Cheers,
Martin
--
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-manager+unsub...@googlegroups.com.
Ok, thanks. I'll give you an update tomorrow.
Cheers,
Martin
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
Great to hear!