How can I interact with flask session using flask-sock #101
Unanswered
kentosoccer0502
asked this question in
Q&A
Replies: 1 comment
-
Flask-Sock relies on Flask for session management, like Flask-SocketIO does when |
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
-
Currently, I'm storing WebSocket output in a global list (terminal_output), but this creates a problem: if multiple users use the WebSocket simultaneously, their data gets mixed up. Since flask-sock does not have a manage_session parameter like flask-socketio, I'm struggling to isolate WebSocket data per flask session or user.
Beta Was this translation helpful? Give feedback.
All reactions