Confusion reigns
In 2.0.x the sessions are updated periodically. They are not necessarily updated each page view. This was done to minimise impact on the SQL server. As it happens that load doesn't appear to be terribly great in practice (at least not for the average installation). Thus for 2.2.x we update either periodically or upon a page change. This way hitting refresh on the same page won't bog down the server too much with constant updates ... while improving the "tracking" of visitors.
Additionally in 2.0.x the "Who is online" time was hardcoded for five minutes. That's "fine" for most forums but for busier installs five minutes can equate to dozens, hundreds of users. Similarly for smaller forums it may account for one or two users Thus in 2.2.x the time is admin defineable. Equally you can disable viewonline (on the index and other pages) should you have a particularly busy forum.
A better "Who's online"
Forum rules
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
Re: A better "Who's online"
Thank you. That clears things up quite a bit.psoTFX wrote:Confusion reigns
In 2.0.x the sessions are updated periodically. They are not necessarily updated each page view. This was done to minimise impact on the SQL server. As it happens that load doesn't appear to be terribly great in practice (at least not for the average installation). Thus for 2.2.x we update either periodically or upon a page change. This way hitting refresh on the same page won't bog down the server too much with constant updates ... while improving the "tracking" of visitors.
Additionally in 2.0.x the "Who is online" time was hardcoded for five minutes. That's "fine" for most forums but for busier installs five minutes can equate to dozens, hundreds of users. Similarly for smaller forums it may account for one or two users Thus in 2.2.x the time is admin defineable. Equally you can disable viewonline (on the index and other pages) should you have a particularly busy forum.
Banned