Search code examples
javascriptexpresssocket.ioengine.io

In Socket.IO, what is the "io" cookie used for?


I know it is a session cookie, but for which purpose does Socket.IO actually use the io cookie? I know I can disable it, but couldn't find anything else on the docs. Why is it enabled by default and what I'm going to lose or break if I disable it?


Solution

  • So apparently and according to an answer to this Github issue, "it's not used for anything" so it's safe to disable it.