Tuesday, 3 March 2020

Custom socket id after login

I want to give socket id a custom id after i logged in. I want to get the user id in the database and use that for socket.id. How can I do that? If I use io.engine.generateId then it gonna overwrite every time. Please help me out.

Submitted March 03, 2020 at 01:55PM by milantran

No comments:

Post a Comment