Saturday, 5 May 2018

Need help with jquery drag and drop with socket.io

I want to emit the drag-drop jquery event to all the clients connected via socket.io (running Node.js server).The element being dragged is generated dynamically. So far when I generate the element, it is emitted to all the clients properly. Its the dragging and dropping where I am having problems. Here is the link to my gist: https://ift.tt/2Iidu8C question I have is how do I implement express-session with socket. I want to share the same on-going session with multiple users. But as soon as a new user joins the server, the html elements are reset.Feel free to comment on the gist.Thanks :)

Submitted May 05, 2018 at 08:18AM by codeinprogress

No comments:

Post a Comment