Replies: 2 comments 9 replies
-
If i go to the flask side and set the expiry time to like 10s, and i wait for it to expire, then it wouldn't have this issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Going to the browser manually to delete a cookie is not a "normal" use case. When you delete a cookie nothing happens on the WebSocket connection, there is no signal or anything else that informs the WebSocket that the session cookie is gone. If you refresh the page after you delete the cookie then the reconnected WebSocket will be in sync. |
Beta Was this translation helpful? Give feedback.
9 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.
-
Most of the time, the sessions are in sync. I am using Server-side managed session with
manage_session = False
. Socketio session updates with HTTP and vice versa. However, when I use chrome inspect and delete the session cookies. HTTP gets that the session is deleted. Socketio session stays the same. I know Socketio Session is a fork from HTTP, but wouldn'tmanage_session=False
solve it?Beta Was this translation helpful? Give feedback.
All reactions