adelura / socket.io-express-solution

http://stackoverflow.com/questions/24679046/expressjssocket-ioexpress-session
23 stars 5 forks source link
express express-js javascript node-js nodejs socket-io sockets stackoverflow websocket websockets

socket.io and express session solution

This example show how to use socket.io with express.js 4 and handle session. It's answer for stackoverflow question.

To run example just simply run

$ npm install
$ npm start

and navigate to http://127.0.0.1:8888/.