tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: valueUnbound() event in HttpSessionBindingListener
Date Fri, 08 Dec 2000 19:56:40 GMT
"G.Nagarajan" wrote:

> How is it actually done internally? i.e., is there a thread similar to the
> garbage
> collector which checks the current sessions or is the session invalidated
> only
> when a request comes from the client. The second option will mean that the
> objects
> in the session will be occupying memory till the server is shutdown.

Tomcat uses a background thread that times sessions out.  By default, it checks
once per minute.

> Nagaraj.

Craig McClanahan

View raw message