Im currently working on a socket connection between my server & client.
I want to audit all connections, right now when I log out and clear the token property from the cookies client side and send an emit to the server, the token is still inside the cookies of the handshake, when the emit gets recorded on the server.
Is there a way to reset or reload the cookies without dis- and reconnecting the socket connection? (I'm using ngx-socket-io/client & socket-io/server as the implementation library)
2.1m questions
2.1m answers
60 comments
57.0k users