[web2py] Keeping track of connected users (websocket_messaging.py)

2015-05-06 Thread Samuel Sowah
Hello, Please if I'd like to keep track of users who are connected to a particular group, for example $(document).ready(function(){ var data; $.web2py.web2py_websocket('ws://official-notebook.com:/realtime/mygroup',function(e){data=eval('('+e.data+')')});

Re: [web2py] Keeping track of connected users (websocket_messaging.py)

2015-05-06 Thread Richard Vézina
Last year we develop over websocket contrib a tool like that and it turns that we had to create a thread that was doing that, I mean maintain a list of connected user... We create a basic back and forth websocket message format so we can ping every users connected and wait for a response from them

Re: [web2py] Keeping track of connected users (websocket_messaging.py)

2015-05-12 Thread Samuel Sowah
I'll be glad to take a look. I just might be able to help since I'd need it myself anyway. Will do my best. On Wednesday, May 6, 2015 at 6:17:50 PM UTC+1, Richard wrote: > > Last year we develop over websocket contrib a tool like that and it turns > that we had to create a thread that was doing