Jump to content

Total Time spent ?


Gayner

Recommended Posts

Using PHP only will not be accrute but i would start a session when the user logs in that stores the time, then every page they use, onload checks the session and works out the total time since there last page load and stores that in a new session while updating the time session with the new time and so on, you can aslo make each page load update the DB with how long they have been on, then have the code check how long they have been on and log them out or what ever.

Link to comment
https://forums.phpfreaks.com/topic/175863-total-time-spent/#findComment-926666
Share on other sites

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.