View Full Version : PHP Viewing
01-19-2008, 08:46 PM
Whats the best way to count the ammount of people currently viewing a page? Search is down so i don't know if theres a current topic.
01-19-2008, 10:28 PM
Database controlled sessions are probably the easiest way. You can put the location they are currently viewing in there as well. Simply count from your database grouped by the page.
If you use predefined sessions, it will become quite umpleasant quite quickly.
Search on google for a database driven session script. Someone has to have posted one up.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.