Yeah that's about it. I would also store the (encrypted) session Id and the IP address (useful for tracking guests as well as logged in users). Also you needn't use a scheduler using cron if you can run this script when a page is loaded or refreshed. But that would mean more load on the server every time a request is made.
A cron (or scheduler) job seems a better idea, but since it would not be part of the forum software itself, it might be dependent on the OS to run that scheduler.
Last edited by vharishankar; 12-07-2006 at 05:52 AM.
|