On Wed, 13 Jul 2005, Annie Dumont wrote:

> Hi Michael, hi all,
>
> Le mardi 12 juillet 2005 à 12:02 +0200, Michael Wechner a écrit :
>
> > Jann checked in some code to help see the existing sessions
> > and the corresponding users
>
> I have found something like that in the dev list. I am going to dig it
> more.
>

This is available in the 1.4-dev release. It is basically a listener which
stores and delete sessions in a HashMap if a user-log in or log-out
respectivelly. You can find the class in
java/org/apache/lenya/util/SessionListener.java.
I further wrote a usecase in order to show the logged-in users in the
admin area.

> > >So i am interessed in kwnowing how to notify the users writting in kupu
> > >that their session is about to be closed.
>
> > I guess one would have to write a job (scheduler) which is making
> > use of the above mentioned code and then push some notification to Kupu
> > somehow.
>
> Ok. No chance to have this in the next versions ? ;-)
>

The Listener is not yet implemente in the 1.2.X relaease but this should
be not too hard. I plan to do it soon. Maybe someone else have already
done it?


Jann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to