[web2py] Re: Checking if user is offline/online

2016-12-04 Thread Anthony
On Sunday, December 4, 2016 at 11:43:40 AM UTC-5, Marlysson Silva wrote: > > Then isn't online/offline it verify whether user get out focus on current > page.. > In that context, "offline" means that the browser no longer has an internet connection. > > Em sábado, 3 de dezembro de 2016

[web2py] Re: Checking if user is offline/online

2016-12-04 Thread Marlysson Silva
Then isn't online/offline it verify whether user get out focus on current page.. Em sábado, 3 de dezembro de 2016 17:36:10 UTC-3, Anthony escreveu: > > On Saturday, December 3, 2016 at 2:25:50 PM UTC-5, Marlysson Silva wrote: >> >> You can do it with javascript, using: >> >> Api navigador: >> >>

[web2py] Re: Checking if user is offline/online

2016-12-03 Thread Anthony
On Saturday, December 3, 2016 at 2:25:50 PM UTC-5, Marlysson Silva wrote: > > You can do it with javascript, using: > > Api navigador: > https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview > > https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview >

[web2py] Re: Checking if user is offline/online

2016-12-03 Thread Marlysson Silva
You can do it with javascript, using: Api navigador: https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview https://developer.mozilla.org/en-US/docs/Online_and_offline_events#Overview Em sexta-feira, 2 de dezembro de 2016 15:11:08 UTC-3, Ramos escreveu: > > What could be the

[web2py] Re: Checking if user is offline/online

2016-12-02 Thread Massimo Di Pierro
You need a websocket server like web2py/gluon/contrib/websocket_messaging.py Examples are i the file itself. On Friday, 2 December 2016 12:11:08 UTC-6, Ramos wrote: > > What could be the best way to check if a user is disconnects? > > I was thinking of this > > >