-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we send the logged in user id #9
Comments
I aso wants to perform this task. |
i implemented this task but not sure it is secure or not .. :p if you want to check then server side file is https://github.com/manojdhiman/yii-login-register-with-chat/tree/master/chat_server and client side https://github.com/manojdhiman/yii-login-register-with-chat/blob/master/themes/basic/views/layouts/main.php please check this is just a try if you can improve this |
hiii..manoj
} I wants to send data instead of message. |
it should reconnect if you refresh the page .check your terminal after refresh the page with print something on close event like function wsOnClose($clientID, $status) {
} |
Hii,Manoj |
Hi, can u help me ? |
And not only that, i'm trying to hide the message if anyone connect to that websocket, only show the message to the person i want |
This was for 2 years ago. |
Oh, sorry, i found this project and using it to develop a chat system , and i'm stuck in the same case. |
You should use node js for that. |
hi , first of all thanx for this code. i am using this library to implement a chat application , problem is how can i send the logged in user id when a user connects to socket with function
Server.bind('open', function(data)
{
var user='user->name); ?>';
alert(data);
});
The text was updated successfully, but these errors were encountered: