Answer the question
In order to leave comments, you need to log in
How to parse cookies in websockets?
How to parse cookies in websockets?
(PHP SOCKET)
Answer the question
In order to leave comments, you need to log in
Pick them up on the client using a jQuery Cookie, for example, and send them in a socket request as json.
As mentioned above, cookies are part of the http protocol. They simply do not exist in web sockets.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question