Thanks a lot to all phpBB MODs Team members for your hard work.
~~~~~~~~~~
Space reserved for future comments regarding this MOD.
~~~~~~~~~~
We could perhaps describe what this MOD does by using a bit of "pseudocode":
This would be standard phpBB behaviour when checking the user session:
IF session not updated in 60 seconds
THEN
- Update session information in sessions table.
- Update session time and current page in users table.
- Delete expired sessions.
- Update session time in cookies.
ENDIF
Note the user session is updated only after 60 seconds of last update time. During this 60 seconds interval, the user might be jumping from page to page, from forum to forum, and this information gets simply lost.
This MOD solves this "situation" by adding a simple condition to the
IF expression:
IF session not updated in 60 seconds
OR user changed page THEN
- Update session information in sessions table.
- Update session time and current page in users table.
- Delete expired sessions.
- Update session time in cookies.
ENDIF
Therefore, we can get more accurate information when browsing the Who's Online report or the ACP Index page.
Quite simple, really.
~~~~~~~~~~
Enjoy!