Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use feathers-socketio? and rest&socket share session maybe? #269
I think we should to use express-session and no need anymore cookie-parser - > Since version 1.5.0, the cookie-parser middleware is no need
And add middleware fonctionnalities with socket-io
why not use share sessions between rest and socket to get things working all together?
Thks for replying, yes i saw it that it 's not using sessions.
In fact i was worry about cookies is not good.
but yes cookie-parser is not a real cookie, for me a cookie is stored in client-side.
They should to not use this name 'cookie-parser' because it's just something in the request header.