![]() |
![]() |
#1 (permalink) |
Upright
|
[javascript?] redirect if network resource is down
Hey all,
I really am not very gifted with knowledge of java, but I like running my own website for myself and my friends. I sometimes use my university web space, but also have my computer set up as a webserver (for large files that exceed my quota). Sometimes however my computer is off or my cable modem is down. Basically I was wondering if there is a script that will check if my computer is up and running, and if so direct traffic there, otherwise display a secondary "backup" website instead. Thanks much! |
![]() |
![]() |
#2 (permalink) |
Psycho
Location: sc
|
with javascript? nope.
try something like php/asp/perl (maybe), etc. no guarantees, but i could see at least a reasonable way or two you could possibly do it.
__________________
This is what is hardest: to close the open hand because one loves.
Nietzsche |
![]() |
![]() |
#3 (permalink) | |
Tilted
Location: Boston
|
Quote:
It's not necessarily the best way to do it, but depending on what you need it's probably not the worst either - it will work just as well as any server-side technique. |
|
![]() |
![]() |
#4 (permalink) | |
Psycho
Location: sc
|
Quote:
![]()
__________________
This is what is hardest: to close the open hand because one loves.
Nietzsche |
|
![]() |
Tags |
javascript, network, redirect, resource |
|
|