tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chan Sammy <csa...@gmail.com>
Subject When is Visit destroyed?
Date Tue, 01 Mar 2005 19:30:38 GMT
I store session data in Visit object. However, it is so 'volatile' and
get destroyed very erratically and I feel insecure about using Visit.
By destroy I mean  this

public class Visit{
    protected void finalize() throws Throwable {
        logger.warn("Visit destroyed");

Shouldn't it be destroyed only when HttpSession timeout? But my tests
are very short. I tried running several times within minutes and
sometimes they all fail.
Is it possible that my code cause it to be destroyed?
When does Visit get destroyed?

To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

View raw message