Automatically refresh a page

Hi there, I have the following situation: One page is opened by two users. If user 1 changes data, it can happen, that caused by this changement, also data on the page of user 2 will change. But at the moment user 2 has to press F5 to update his page in order to see these changes. How to refresh this page automatically? If anybody has an idea, please let me know. Thanks in advance.
1 answers

The first solution that comes to mind is setting up a timer, checking every couple of seconds for new data.

But there is a better way and that is using socket io. I have not implemented it myself but would love to see you try to follow Austin’s article on this:

Please also let us know if you have succeeded.