Aureole Posted February 4, 2008 Share Posted February 4, 2008 How would one approach something like this? The only (extremely bad) way I can think, is running a cron job/task every... x minutes and do a query to count how many members in the members table are currently online. If it's higher than in the past then update a table, otherwise leave it. I don't want to do it like that, if there's another way. Any ideas? Link to comment https://forums.phpfreaks.com/topic/89359-solved-most-users-ever-online/ Share on other sites More sharing options...
trq Posted February 4, 2008 Share Posted February 4, 2008 You wouldn't need to do it in a cron job. Simply do it whenever someone logs in. Link to comment https://forums.phpfreaks.com/topic/89359-solved-most-users-ever-online/#findComment-457577 Share on other sites More sharing options...
Aureole Posted February 4, 2008 Author Share Posted February 4, 2008 Good thinking, thanks a lot. Link to comment https://forums.phpfreaks.com/topic/89359-solved-most-users-ever-online/#findComment-457578 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.