Jump to content

session_start(); Need Help Counting Online peeps


Dethman

Recommended Posts

Have a table storing the sessions. In that table there should be a column storing the last activity. On each request update that column for the current user. Then just count the number of sessions where there has been activity within a set amount of minutes (e.g. 15 minutes).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.