Files
socket.io/examples/express-session-example

Example with express-session

This example shows how to share a session context between Express and Socket.IO:

Video of the example

Please read the related guide: https://socket.io/how-to/use-with-express-session

How to use

$ npm install
$ npm start

And point your browser to http://localhost:3000. Optionally, specify a port by supplying the PORT env variable.