PDA

View Full Version : Redirect?


kaprikorn
08-13-2002, 04:48 PM
Webdesign help.
I have my page on 2 servers.
One server is my own computer and the other is in my school. Now at home I naturally have as much controll and space as I want but at school that is limited. The problem I have is that my own computer can't be run all the time and therefore only the limited page is avaible.
So I want a script (or some sulution) that makes alternative links. if my computer at home can't be reached thru a link the user should automaticly be linked to another page, wich I have predefined, on the school server.
Is this somehow possible? Maybe there is a javascript that can ping my computer as the visitor enters and if there is no answer link him to a working page?
I can't figure it out.

Mr J
08-13-2002, 07:48 PM
I can only think of a possible solution that would need the initial use of a frameset.

A link in one frame would load the page from your computer address into a main frame.
At the same time a script could monitor this main frame to confirm that the page has loaded, if not, load your second page.

Maybe?

duniyadnd
08-13-2002, 08:18 PM
Mirror sites?? :rolleyes:

I know not saying much here, but seen it being used for a lot of sites, though I haven't done anything to do with mirroring sites, and don't know what all it takes to keep everything running.