News for hackers. Stuff that matters.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by dist-epoch on Monday March 18, 2024 @02:30PM (#39748085)
They do send cookies.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by Sammi on Tuesday March 19, 2024 @05:00AM (#39753953)
I do login the bog standard way with a regular old http request and the server responds with setting an http only cookie. Then I reconnect the websocket, which will then provide the cookie to the server on reconnect.