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

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top