I set cookie with help of setcookie($name, $value) in php.
Then:
socket.on('connection', function(socket) {
var parse = cookie.parse(socket.handshake.headers.cookie);
console.log(parse);
}
And I receive only something like this
{ 'connect.sess': 's:j:{}.CoRLkkQvzo1011EOxT2IdmJh5rqejQ0m5dp0XGFCIz4' }
socket.handshake.headers.cookie doesn't store all of my cookie ?