Author Topic: Php who is online?  (Read 450 times)

Offline Dominic

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Php who is online?
« on: October 24, 2014, 11:39:02 AM »
Hello, I would like to ask you a problem concerning my situation, php who is online This is urgent, please answer the question quickly.
« Last Edit: December 09, 2017, 06:53:20 PM by Sofyene »



Offline Patrick

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Re: Php who is online
« Reply #1 on: December 09, 2017, 06:54:07 PM »
Because of the nature of the web, you can't know when a user disconnects, yanks the cable or shuts down his computer without politely telling you.

You could have a script (AJAX) check every X minutes to see if the browser still responds, and if not, toggle offline


 

Sitemap 1 2 3 4 5 6 7 8 9