Tuesday 16 May 2017

socket.io creates empty localStorage

I am using socket.io v2.0.1 on my nodeJS server and today I spotted some odd behavior. I saw it indicates on google chrome that i have 1 "cookie" and when I checked it was some empty localStorage instance. Removing the <script src="/socket.io/socket.io.js"></script> from my html page stops creating this instance. Is this normal behavior and how can I stop it? I am already using cookie:false option on my socket.io server



via slowdeath007

No comments:

Post a Comment