Hi list,

I have a small problem with that SimpleSessionHandler. I put my
database-connection to the session. If the user terminates the process I can
destroy the connection, but if the session got timed out, the session is
active and active and active... For about 10 or 15 minutes. I think
afterwards the connection is closed by the database.
Now I'm thinking about what I could do to let the connection be destroyed,
when the session is inactivated. I looked into the sourcecode of
SimpleSessionHandler and I know what happens inside there. What would be a
good chance for me? To get into the loop where the victims (timed out
sessions) are destroyed/removeed from the sessions-list? That could work,
but I'm scared of playing around in that code.
Does anybody have a better idea how to force the SessionHandler to destroy
all accesses to all objects inside the session?

help is as always appreciated!

Greetings from Hamburg/Germany
Seppo

Sebastian Beyer
Softwareengineer
Wettschereck & Partner
Gesellschaft für Informationstechnologie mbH
Ziethenstraße 14A
22041 Hamburg
Tel.  +49-40-689468-0
Fax. +49-40-689468-99

Reply via email to