Comments on: Sharing session state in Node.js between your HTTP server and websockets server https://blog.maxaller.name/2011/10/sharing-session-state-in-node-js-between-your-http-server-and-websockets-server/ ruby, ubuntu, etc Thu, 17 Mar 2016 20:35:40 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Max https://blog.maxaller.name/2011/10/sharing-session-state-in-node-js-between-your-http-server-and-websockets-server/comment-page-1/#comment-930 Max Mon, 30 Jan 2012 18:17:41 +0000 https://blog.maxaller.name/?p=543#comment-930 Well…you need to be able to instantiate your session store manually, wherever it is. In the case of Express, you’ll already have Connect installed since Express is built on top of Connect. This is really just a guide on how to create that session store manually, so that you can grab it in the right scope so you can share it. Does that answer your question?

]]>
By: Martin Ansty https://blog.maxaller.name/2011/10/sharing-session-state-in-node-js-between-your-http-server-and-websockets-server/comment-page-1/#comment-929 Martin Ansty Mon, 30 Jan 2012 18:11:30 +0000 https://blog.maxaller.name/?p=543#comment-929 This is exactly the help I was looking for (I think), so thanks a lot for such a useful post. Am I correct in thinking you need to install and require connect for this to work?

]]>