express-socket.io-session icon indicating copy to clipboard operation
express-socket.io-session copied to clipboard

Share a cookie-based express-session middleware with socket.io

Results 25 express-socket.io-session issues
Sort by recently updated
recently updated
newest added

but works good on the main one .. if i use namespace /mnt/c/webserver/cbox/server/node_modules/cookie-parser/index.js:25 if (req.cookies) return next(); TypeError: Cannot read property 'cookies' of undefined

Hi Admin, I am following this package and I have a problem with session in socket I can not keep value session when I refresh page cause it will be...

Hello! Thanks for this wondering plugin! I'm receiving an error that's crashing my server whenever a new io() object is created in my browser. Express seems to be looking for...

Today I encountered a bug in our app and, it appears that in this case `socket.handshake` did not contain the session. It has a `sessionID`, `sessionStore`, `cookies`, `headers` ... I...

Greetings! I simply get this error when trying to access the session property from socket. `io.on('connection', (socket) => { const session = socket.handshake.session; });` While trying to do a declaration...