How to check if a user has visited the site in the last 5 consecutive days ?
Hi,
By "visited" I mean any kind of activity, not just logins (I have some users that are logged in all the time, so their login time will not change daily).
What is the difference between the fields last visit and lastactivity (from the user table) ?
How would you implement this ? With a background process that will check if the user has done anything in the past 24 hours ?
Regards,
Razvan
|