jaymc Posted January 10, 2008 Share Posted January 10, 2008 I have a whosonline script which displays members online via last action timestamp No problem However, lets say there are 100 users online 20 users on each page, so 5 pages I access the first 20 people (LIMIT 0,20) 1 minute later, I am about to click page 2 (20,20) During that 1 minute, 2 people went offline, so there are now 98 people left to display, page 2 will display 18,38 in accoradance with the original 0,20 I hope you can understand, Im just wondering how to combat this Link to comment https://forums.phpfreaks.com/topic/85347-whosonline/ Share on other sites More sharing options...
dooper3 Posted January 10, 2008 Share Posted January 10, 2008 So what's the problem? If 2 went offline and it shows you the second page of who's left I don't really see a problem... Link to comment https://forums.phpfreaks.com/topic/85347-whosonline/#findComment-435463 Share on other sites More sharing options...
jaymc Posted January 10, 2008 Author Share Posted January 10, 2008 Because the list re juggles, so 2 members from the first page will appear on the second page because there is now 98, not 100 Link to comment https://forums.phpfreaks.com/topic/85347-whosonline/#findComment-435466 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.