Re: Long term Session attributes [ was RE: Wizard Interface question ]

2002-02-07 Thread Peter Pilgrim
PROTECTED] cc: Subject: Re: Long term Session attributes [ was RE: Wizard Interface question ] [EMAIL PROTECTED] (Peter Pilgrim) wrote: Have a background thread or even better a java.util.Timer on each session object or per user. The sleeper or swiper continuous timer wakes up every 10 minutes

Long term Session attributes [ was RE: Wizard Interface question ]

2002-02-06 Thread Peter Pilgrim
I suppose you can make all your big session object implement a `Leaseable'. public interface SessionLeaseable { public void updateLastModified(); public long getLastModified() ; } Have a background thread or even better a java.util.Timer on each session object or per user. The

Re: Long term Session attributes [ was RE: Wizard Interface question ]

2002-02-06 Thread Duncan Harris
[EMAIL PROTECTED] (Peter Pilgrim) wrote: Have a background thread or even better a java.util.Timer on each session object or per user. The sleeper or swiper continuous timer wakes up every 10 minutes or so iterates through the attributes in the session looking especially for Leasable