[TG2] list of connected users?

3 views
Skip to first unread message

guistebal

unread,
Aug 11, 2009, 2:37:52 PM8/11/09
to TurboGears
Hi everyone,

Is there a way to get all connected users with TG2? I guess there must
be something in repoze.who but I don't really see where..

Thanks,
Christophe

Diez B. Roggisch

unread,
Aug 11, 2009, 6:00:24 PM8/11/09
to turbo...@googlegroups.com
guistebal schrieb:

> Hi everyone,
>
> Is there a way to get all connected users with TG2? I guess there must
> be something in repoze.who but I don't really see where..

No, there is no such thing in repoze.who. You need to do that by
yourself, writing e.g. a plugin that marks users as online.

Diez

alexbod...@gmail.com

unread,
Aug 11, 2009, 9:01:57 PM8/11/09
to turbo...@googlegroups.com
you may use the database variant in beaker, and issue queries on non expired sessions.

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com
> To unsubscribe from this group, send email to turbogears+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/turbogears?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

--
alex

guistebal

unread,
Aug 12, 2009, 10:57:49 AM8/12/09
to TurboGears
Thanks. I didn't know that it was possible to use a database with
Beaker. So simple when you know it :)

alexbod...@gmail.com

unread,
Aug 12, 2009, 11:12:58 AM8/12/09
to turbo...@googlegroups.com
i missed that feature too :)

On Wed, Aug 12, 2009 at 17:57, guistebal<cro...@gmail.com> wrote:
>
> Thanks. I didn't know that it was possible to use a database with
> Beaker. So simple when you know it :)

Reply all
Reply to author
Forward
0 new messages