Express: Share session with websocket

I'm writing a chat application with node.js and Express. The authentication is working and I can login to user accounts and register new sessions. My problem is that the chat itself runs within a Websocket (Websocket-node) and I can't access the session data. How can I identify new connection requests made to the websocket without the session data?

Thanks!

I would advise not working with WebSockets directly and instead use Socket.IO. It has authorization and handshaking built in

https://github.com/LearnBoost/socket.io/wiki/Authorizing

Here is how you can get session information

http://www.danielbaulig.de/socket-ioexpress/