last day (24 days later) » 

8:33 AM
hi
 
Hi
 
Thanks for wanting to chat btw.
 
How can I help?
No problem
 
im trying to figure out how to solve the node.js emit. how to make it work as im trying to make it to do.
in this case i want it to when a user do something, it sends event to all clients. but in this case the event is sent before the client is loaded on the user thats doing the action.
but when i tested on 2nd user while 1st did the trigger, nothing happend there neither.
sorry my bad english btw.
 
I think the company firewall is causing a problem with this chat session.
Ok, if you look at the link I posted....there is a way to broadcast when a new client connects, that's what you want to do.
 
8:42 AM
hold on.
i tried to get that to work, but for some reason it wont for me currently.
 
What tools do you use, browser etc?
 
the site is made with codeigniter framework. My editor is phpstorm, and my browser is google chrome.
 
Ok, have you tried debugging with the browser debugger? I would simplify the code with just logging messages to the console when a new client connects and a broadcast is issued, the steps should be quite clear.
 
never been into any browser debugger.

currently i dont have the link you provided installed, and currently i dont know how to do it neither.
 
Ok, on the link I posted its quite straight forward to follow, if not look up socket.io broadcasts in google. Learn how to use the browser debugger its very useful and allows you to use breakpoints and watch data variables.
 
8:53 AM
i will check it out.
 
Ok, any problems send me a mail: simonaplatten@gmail.com
good luck
 

  last day (24 days later) »