Consider adding a "last seen" function for users. This would consist of a last_seen column in the users table which could be updated via a query on each page load.
My main concern here is updating the database on every page load for what is not that important of a feature. I do not have enough experience with database performance to say if this may be an issue on larger scales.
Consider adding a "last seen" function for users. This would consist of a
last_seen
column in theusers
table which could be updated via a query on each page load.My main concern here is updating the database on every page load for what is not that important of a feature. I do not have enough experience with database performance to say if this may be an issue on larger scales.