sijomon_nd Posted August 23, 2007 Share Posted August 23, 2007 Hello If a user logged in ,his status should become online and when user close his brower at that moment,status of the user should change to offline how to make this in php see:same procedure of gmail Link to comment https://forums.phpfreaks.com/topic/66302-to-change-online-status-to-offline/ Share on other sites More sharing options...
NArc0t1c Posted August 23, 2007 Share Posted August 23, 2007 Well, everyone asks this. It's very simple. Update the status as a timestamp, on each page. And when the user isn't there anymore, it won't get updated so it will hold their last page view. Link to comment https://forums.phpfreaks.com/topic/66302-to-change-online-status-to-offline/#findComment-331683 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.