ides to happen, my
> objects under the session aren't being collected.
>
> so then. how can you know when the session itself
> is collected (not timed out)
>
>
>
> -Original Message-
> From: Farrow, Marc [mailto:[EMAIL PROTECTED]
> Sent: Fri 3/31/2006 5:3
e finalize method in it?
-Original Message-
From: Wang, Hansen [mailto:[EMAIL PROTECTED]
Sent: Fri 3/31/2006 5:38 PM
To: Tomcat Users List
Subject: RE: session GC
If you would like something simple and intuitive, you can create a class
and overwrite the finalized() method to print out
er it decides to happen, my
objects under the session aren't being collected.
so then. how can you know when the session itself is collected (not timed out)
-Original Message-
From: Farrow, Marc [mailto:[EMAIL PROTECTED]
Sent: Fri 3/31/2006 5:36 PM
To: Tomcat Users List
Subject: RE:
If you would like something simple and intuitive, you can create a class
and overwrite the finalized() method to print out simple log. Then,
create a separate object of your class for each httpsession and add it
as an attribute of the httpsession. Of cause you want to make sure that
you do not keep
easiest way to make sure they are GC'd is to set session time-outs.
-Original Message-
From: John Powers [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 6:07 PM
To: Tomcat Users List
Subject: session GC
How do you know when a session is garbage collected?
You can write a sessionli