Re: How to get a list of the connected users ?

2007-09-12 Thread landry soules
Thanks a lot for your answers, guys. I will try the 2 approches. Cheers. Landry 2007/9/12, Matthijs Wensveen [EMAIL PROTECTED]: landry soules wrote: Hello, I have to display a list of the connected users in a page of my app. I know it sounds definitely dumb, but i don't know how to

Re: How to get a list of the connected users ?

2007-09-11 Thread Carlos Pita
Maybe you can write a session listener to intercept session destruction (give a look at servlet api, in particular HttpSessionListener). For sessions that do have an associated (logged in) user you can set the isConnected flag to false then. I wouldn't recommend keeping these flags in a

Re: How to get a list of the connected users ?

2007-09-11 Thread John Krasnay
On Tue, Sep 11, 2007 at 11:24:38PM +0200, landry soules wrote: Hello, I have to display a list of the connected users in a page of my app. I know it sounds definitely dumb, but i don't know how to achieve this... Users login to my site (i extended AuthenticatedWebApplication), and then i

Re: How to get a list of the connected users ?

2007-09-11 Thread Matthijs Wensveen
landry soules wrote: Hello, I have to display a list of the connected users in a page of my app. I know it sounds definitely dumb, but i don't know how to achieve this... Users login to my site (i extended AuthenticatedWebApplication), and then i update a isConnected flag in users table. Thus