[Seaside] How to know how many users are connected to my site?

Mariano Martinez Peck marianopeck at gmail.com
Sun Jul 26 22:57:44 UTC 2009


On Fri, Jul 24, 2009 at 8:09 PM, Miguel Cobá <miguel.coba at gmail.com> wrote:

> On Fri, Jul 24, 2009 at 4:38 PM, Mariano Martinez
> Peck<marianopeck at gmail.com> wrote:
> > Hi folks! I don't know if this is more Pier related or Seaside
> related...I
> > just want to render something in my Pier website that says "there are XXX
> > people viewing the site"  (in spanish hahaha). Now, the question is, is
> > there a component for that? Value Links ?
> >
> > Suppose there isn't and I will do it, how can I know from Seaside/Pier
> how
> > many people is "connected" to my website?
> >
> > Thanks a lot and good weekend!
>
> Some months ago there was a thread about getting "real" counts of
> sessions vs logged in users.
> You can search the archives but I remember that there was no easy and
> reliable way to doing this.
>

Thanks Miguel. I searched in gmane and found this:

(WASession allSubInstances select:
    [ :ea | ea isActive & (ea application name = 'yourApp' ) ]) size

That's what I need so far. So, I think I will do a Pier component for that!

Thanks

Mariano


> Cheers,
> Miguel Cobá
>
> >
> > Mariano
> >
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090726/10a34ff4/attachment-0001.htm


More information about the seaside mailing list