When a student refreshes or disconnects while running the webpage on our webserver, the logout signal is different from when it's run on localhost. This is a known issue with socket.io and is caused by a too slow ping rate. The rate can be manipulated, but this would risk setting students that actually are still online as disconnected.
The ping should never last more than 2 min, so after that our students should be logged out.
When a student refreshes or disconnects while running the webpage on our webserver, the logout signal is different from when it's run on localhost. This is a known issue with socket.io and is caused by a too slow ping rate. The rate can be manipulated, but this would risk setting students that actually are still online as disconnected. The ping should never last more than 2 min, so after that our students should be logged out.