tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Claborn <>
Subject Immediately persist sessions to database
Date Tue, 07 Jul 2009 16:21:35 GMT
I'm experimenting with writing some code to persist a session to the
database, similar to org.apache.catalina.session.PersistentManager and
org.apache.catalina.session.JDBCStore, but to store it immediately after
the end of a user request, when the session goes out of "scope".  Any
pointers on where to start?

I've played a bit with extending or replacing the above classes, but it
looks like the backgroundProcess(), which is the starting point of the
logic that persists sessions is only called every 10 seconds from the

Is there a way for a Manger to get control when a session goes out of scope?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message