dimanche 22 février 2015

How can you "persist" socket.io connections?


I'm currently working on an app in Node.js which I'm writing in Express.js and uses Socket.io. However I am having trouble persisting data when a client is connected. When you refresh the page, Socket.io treats this as a disconnection and then a new connection. Does anyone know a method that could be used that doesn't use JavaScript timers to help persist a client that is connected?





Aucun commentaire:

Enregistrer un commentaire