View Full Version : Sync Web Browsing

02-05-2012, 02:16 AM
Ok I need help going about how to do this and am hoping to get some example codes on how to go about this.

My idea is to have a web page that is a "room" and in that room someone is leading the web browsing in a Iframe or something similar and then when the "leader" goes to a new web page in real time the other people in the room would be redirected. I understand that there would of course be delay but that wouldn't matter.

so does anyone know any examples i can look at or anything like that?

02-05-2012, 07:40 AM
The only way I can think of to do that is to use a server side script to track the changes and an ajax call of some sort from JavaScript attached to the page that polls for the change to force the update.

It certainly can't be done with HTML & CSS and even JavaScript can only do part of the job since the only way for everyone to be connected together is via the server.

02-05-2012, 08:13 AM
Ya that would most likely be the best way to go about it. Thanks
I was thinking of using a db to hold the the redirect URLs and use php to read the db and javascript to do the refreshing.