Hi,

I want to store user session data into a database rather than in the
session, to conserve memory. I want to use the session id as the key
to look up this data.

As a request comes in, the servlet will hit the db with the session id
and get the data if its there. if its not then i will create the data
and insert it in the db.

The problem is, I want the data to expire along with the session,
either by time out or by invalidation of the session.

Is there a way to hook into Tomcat to get notification that a session
has expired?

Regards

Ben

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to