Mark, Mark Thomas wrote: > Michael Kantarovich wrote: >> Hi, >> >> I'm using version 5.5.12. I noticed that sometimes sessions doesn't >> expire after a "session-timeout". >> >> What do you think? > > That is http://issues.apache.org/bugzilla/show_bug.cgi?id=37356
Wow. Some real yelling and screaming going on in that bug. Can someone explain why "unsynchronized data" + "threaded access" != "non-threadsafe code"? It doesn't take a genius to see that the accessCount variable there is not threadsafe. And since Tomcat ought to be implemented such that multiple threads can run successfully... WTF??! I'm not sure what source of the bitter animosity towards synchronization is in this case. Synchronization isn't a dirty word, especially when it actually makes things work properly :( -chris
signature.asc
Description: OpenPGP digital signature