Earlier i write some value in "tksession" cookies, but now i have one big hash there, how to get this value on server side?
socket.on('disconnect', function() {
var cookies = `cookie.parse`(socket.handshake.headers.cookie);
console.log(cookies);
});
output :
{ tksession: '9Fjjk0XZbCu7DMIqRvis9A.5dMMejogSNtyMj5-aM5PNPdpa-WyMZ4bNwdpubL70oo06dlRPp0x7kgWBhuc5ydsfZsFIK6eXQWZ8CiNQeTn_A.1495349980836.1800000.y5-KDszouRHDxpNxF0b_pVXMDJIr_7R-5VpFug1GvOE',
io: 'Vwy43pE3Dftdvp0aAAAB' }
via Olejs
No comments:
Post a Comment