Replies: 1 comment
-
Detecting disconnection seems to be a good solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hello,
In a Flet web app, I have some users who can wait in a "room" (a webpage) until a creator starts an activity in this room (a quiz for example).
I'm looking for a way to know if a user is still waiting in the room or have left the room.
my question may be quite vague but to be honest I don't really know how to tackle that.
I can get this kind of information if client explicitly click on a button to leave the room but I don't know how to manage that if for example he closes his browser window / tab.
I think the client should send a kind of heartbeat signal to the server but I don't see how to manage that with Flet.
Any suggestion will be nice.
Kind regards
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions