An activity by user B trigger an event for A
Wasnât sure the best way to ask this one, I think better to describe what Iâm trying to do:
I am creating an online dating site (like americansingles.com, etc) and want to allow chat between to members. What I want to do is what several of these sites do: if a user B clicks on âchat with user Aâ a chat window a new browser window opens for user A! Note that the page was not reloaded by user A. This seems imposable to me since this is a stateless protocol and the server has no way to affect user A.
Any thoughts on how I could do this? Also, I havenât yet found a good component to handle chat (Iâd like to do one-on-one and multiple user rooms); any suggestions would be appreciated.
Thanks for your help, Mischa