Big can of worms. How do you define the users online? If you mean the users 
who currently have a page open on your site, then you must use websockets. 
Look into this:

gluon/contrib/websocket_messaging.py

You need to start it (requires tornado) and look into the file. There is an 
example of JS to embed in pages so that they establish a websocket when 
loaded.



On Wednesday, 12 December 2012 07:06:46 UTC-6, Hassan Alnatour wrote:
>
> Dear ALL,
>
> How can i get the online users in my site ?
>
> Best Regards,
>

-- 



Reply via email to