Hello,
I am trying to create an inline chat. The problem arrives when two windows of my site are open. Because then my script sends the new message to the the window which requests it for (for the time being i am using simple polling, will move to comet later).
Is there any good technique that I haven't thought of, so that I can send a message to both the browser windows? Currently I am using a read flag, so as soon as the message gets delivered to one window, it is marked as read. Thus never getting delivered to the other window. How do I solve this problem?
Thank you for your time.