R
R
RomanSS2016-12-28 08:17:18
Node.js
RomanSS, 2016-12-28 08:17:18

How to track cookie changes in socket.io after connection?

How to track cookie changes in socket.io after connection? The bottom line is that the client machine is running code that writes data to cookies, but how to pull out new cookie values ​​​​if they are sent only during the connection? For now, I solve this problem by breaking the connection and reconnecting. Is there a better way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2016-12-28
@bingo347

Send cookie as message on change

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question