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

Remove cookies middleware

Open tiaod opened this issue 5 years ago • 2 comments

Note Since version 1.5.0, the cookie-parser middleware no longer needs to be used for this module to work. This module now directly reads and writes cookies on req/res. Using cookie-parser may result in issues if the secret is not the same between this module and cookie-parser.

See https://github.com/expressjs/session

tiaod avatar Mar 04 '19 08:03 tiaod

It's amazing how many people who are still including require('cookie-parser') in their Express code, I see it every single day. lol

knoxcard2 avatar Nov 20 '19 03:11 knoxcard2

It's amazing how many people who are still including require('cookie-parser') in their Express code, I see it every single day. lol

Hey, It really is. But what I would like to know is how the process may be done via express-session. Do you know any ways of setting a cookie via an express-session, without cookie-parser.

AlexandrHovsepyan avatar Dec 17 '19 11:12 AlexandrHovsepyan