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 i display the connected users in a list view, retrieved by the
"isConnected" flag.
It implies of course that users will use a "logoff" button when they
leave, which i don't believe they will do...
I'm aware it's not a Wicket related problem, but a more generally web
apps problem, but what is the best solution to deal with this ?
Thanks for your answers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If you don't want to tread on the lower-level servlet API, maybe you
could do something with WebApplication.sessionDestroyed or
ISessionStore.unbind. Although I'm not exactly sure when they are called
(just browsing javadoc, that's all).
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]