MyBB Community Forums

Full Version: Why is there a need for last active and last visit?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What's the purpose of having both of them update? Why not just constantly update lastvisit and determine his last activity from that?
basically last visit is like entry time & last active is like exit time !
can't easily say what is need for the both ..
Ah ok, I suppose that makes sense. Is the number for what's considered exit time (900 seconds or so) changable?

Also, couldn't you just subtract the 900 seconds from the lastvisit time and compare it to the TIME_NOW to if he's exited or not?
^ yes, exit time is based on the last click and the online cut off time set at Who's Online settings (Configuration section)
I suppose you could get rid of one of them without issues in your forum, if not both.