memcached-session-manager detects session modification as you describe it. It's a custom session manager that keeps sessions (additionally) in memcached: http:// code.google.com/p/memcached-session-manager
Cheers, Martin Thomas Andraschko wrote: > > Thanks for your answer. > Yep that works but it isn't really nice if you are working with managed > beans from JSF or other DI containers. > Does other Servlet containers support this kind of replication or is it > really the only way to put/remove the object to/from the session map? > It is possible to develop a valve or interceptor to check specified > entries in the session map and replicate them again? (sorry, i don't know > the architecture very well) > > > --- Mark Thomas <ma...@apache.org> schrieb am Mo, 14.2.2011: > >> Von: Mark Thomas <ma...@apache.org> >> Betreff: Re: Replicate session-object after values in object has been >> changed >> An: "Tomcat Users List" <users@tomcat.apache.org> >> Datum: Montag, 14. Februar, 2011 19:09 Uhr >> On 14/02/2011 15:57, Thomas >> Andraschko wrote: >> > Is it possible that Tomcat will automatically check >> the SessionMap entries after each request if any value in a >> entry has been changed? >> No. >> >> Tomcat adding or removing an object from the session will >> trigger >> replication. Modifying the object directly will not trigger >> replication. >> >> You can try re-adding the object to the session. That >> should trigger >> replication. >> >> Mark >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Replicate-session-object-after-values-in-object-has-been-changed-tp30923039p30927143.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org