to achieve here?
From start to finish, preferably.
My user needs to connect to a server by websocket. So s/he needs user pass obviousely. I dont want to use a hardcoded user pass in js file. Because it is not secure. Therefore after user successfully logged in, I generate a user/pass in the server side and send it back to the client side. So that it is used for connecting to the websocket server.
Обсуждают сегодня