thanx, that's a simple one! 2008/3/17, Johan Compagner <[EMAIL PROTECTED]>: > > keep track of all the sessionids that have logged in in an List that you > keep on your Application object. > > > > > > On Mon, Mar 17, 2008 at 9:10 PM, Martijn Lindhout < > [EMAIL PROTECTED]> > wrote: > > > > Hi all, > > > > In my application I track the number of users logged in. When they > logout, > > I > > decrement the count. However, not every user will do an explicit logout, > > so > > I have to depend on the container to destroy the session. > > Because not all sessions are 'logged in' sessions, I need to check > wheter > > the user was logged in. Using this approach wont work, because I don't > > have > > the session anymore. > > > > protected ISessionStore newSessionStore() { > > return new HttpSessionStore(this){ > > @Override > > protected void onUnbind(String sessionId) { > > super.onUnbind(sessionId); > > } > > }; > > } > > > > How do I do this? > > > > -- > > Martijn Lindhout > > JointEffort IT Services > > http://www.jointeffort.nl > > [EMAIL PROTECTED] > > +31 (0)6 18 47 25 29 > > >
-- Martijn Lindhout JointEffort IT Services http://www.jointeffort.nl [EMAIL PROTECTED] +31 (0)6 18 47 25 29