Answer the question
In order to leave comments, you need to log in
What is the equivalent of "connect.id" in Node.js?
I'm trying to implement "authorization using MySQL" on node.js
In a nutshell, I'll describe the key steps:
1) When the application starts, it connects to my WebSocketServer'y
2) When entering login / pass, the server checks if the pair is valid or not. If login & pas are correct, then in MySQL the `online` table is changed to 'yes' (for the corresponding login)
. And then the question arises. How to determine who exactly disconnected? Those. what is his login?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question