Screnario:
A pair room is created by the counselor.
An anonymous client logs in to the room, chats for a little while (Firefox on Android).
The anonymous user then looses connection for a timespan longer than the allowed reconnect time and the window "Your connection to the server was lost, please reload the page." is shown.
On the administration page the anonymous user is still shown as connected and the room is active.
When the anonymous user tries to login again via the page /opeka it seems we enter a state where different things can happen.
At one point I experienced that the login button did not respond at all.
Another time I was presented with the "Do you really want to leave the page" popup and then redirected to a completely blank page.
The third time I was again presented with the "Do you really want to leave the page" popup and then redirected to the /queue-full page.
The third behaviour makes sense since the room is still occupied by the "ghost" of the user.
I noticed that the "ghost" user is logged out automatically after around 15-20 mins.
Obviously we need to establish a stable and user friendly way of handling this issue. Do you have suggestions @alex-bukach ?
Screnario: A pair room is created by the counselor.
An anonymous client logs in to the room, chats for a little while (Firefox on Android).
The anonymous user then looses connection for a timespan longer than the allowed reconnect time and the window "Your connection to the server was lost, please reload the page." is shown.
On the administration page the anonymous user is still shown as connected and the room is active.
When the anonymous user tries to login again via the page
/opeka
it seems we enter a state where different things can happen.At one point I experienced that the login button did not respond at all.
Another time I was presented with the "Do you really want to leave the page" popup and then redirected to a completely blank page.
The third time I was again presented with the "Do you really want to leave the page" popup and then redirected to the
/queue-full
page.The third behaviour makes sense since the room is still occupied by the "ghost" of the user.
I noticed that the "ghost" user is logged out automatically after around 15-20 mins.
Obviously we need to establish a stable and user friendly way of handling this issue. Do you have suggestions @alex-bukach ?
This issue relates to #94