You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use aiohttp-sockjs in my web framework Lona and have some questions regarding session management.
SockJS timeouts: SockJS does not hold onto one websocket connection at a time but regularly closes and reopens them. Why is that? Is this that a way to prevent the browser close the connection because of inactivity?
SockJS client identification: SockJS uses multiple connections and requests for one continuous session, but there seems to be no session identifier, known to the server and the client (or i missed it when I read the code). Is there a way to identify and distinct clients and browser tabs or should that be part of the application code?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to use aiohttp-sockjs in my web framework Lona and have some questions regarding session management.
SockJS timeouts: SockJS does not hold onto one websocket connection at a time but regularly closes and reopens them. Why is that? Is this that a way to prevent the browser close the connection because of inactivity?
SockJS client identification: SockJS uses multiple connections and requests for one continuous session, but there seems to be no session identifier, known to the server and the client (or i missed it when I read the code). Is there a way to identify and distinct clients and browser tabs or should that be part of the application code?
Beta Was this translation helpful? Give feedback.
All reactions