Using 2 servers - Cross domain errors

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,190
Latest member
ClayE7480

Latest Threads

Top