inisiating a pop up message from the server
i have a list of online users and i want them to be able to send online messages to the other online users.
user a send a message and then a popup windows with the message appears at user B window.
I know i can do that by saving the message to DB and then use client side function to recheck for messages every X time.but this seems too much recource consumer.is there a better way to do that ?
is the server possible to check for himself for such messages and initiate a send to the client?
Thank you all