J
jason.m.ho
I want to build a page which has a Comet (push-style) chat system built
into it. I want to have two servers: 1 that serves the page, 1 that
runs the chat system. I want to have a hidden iframe on the page which
gets chat messages from the chat-server, then displays the data onto
the page. The problem is that I run into cross-domain errors, because I
try to get data from a different domain, and then modify the dom with
that data. How do i get around this?
into it. I want to have two servers: 1 that serves the page, 1 that
runs the chat system. I want to have a hidden iframe on the page which
gets chat messages from the chat-server, then displays the data onto
the page. The problem is that I run into cross-domain errors, because I
try to get data from a different domain, and then modify the dom with
that data. How do i get around this?