I'll try to be as clear as possible, but english is notmy native language ;)
What I want to do is to create a "join this game" interface. This will consists of different pages :
My problem here, is that I don't know if I should create a physical different page for each; or just have a single page and .html() everything.
For the moment, I have managed to create a secured connection and everything work fine. Exept that each time i change page, the session is destroy and I lose every datas.
Here is my rep for code: https://github.com/Babas/croa
Babas, I recommend you investigate angular and maybe the mean.js stack. Angular will provide you separate views necessary to compartmentalize your view logic without losing your socket.io connetion. The MEAN stack will give you a common project structure for the server and client-side pieces.