|
Posted by Per Jψrgen Vigdal on 11/25/00 11:30
Do you say that this can not be managed in html or dhtm
"Stuart" <stuart@edesign.cc> wrote in message
news:3BG8f.36657$S_1.15091@newsfe5-win.ntli.net...
> Per Jψrgen Vigdal wrote:
>> I need to redirect to an alternative url if an other redirect fails.
>>
>> Here is the logic
>>
>>
>>
>> If( redirect("URL_A") != success )
>>
>> redirect("URL_B")
>
>
> Redirects don't work quite like that - they don't tend to 'look before
> they leap', so to speak.
>
> You'd have to devise some method of checking the server was up (In PHP,
> you could attempt to call fopen() on a resource on that server, and call a
> redirect based on the result.)
>
> Depends on your server configuration & language of choice, of course...
>
> --
> Stuart Brown <stuart@edesign.cc>
> http://www.edesign.cc
Navigation:
[Reply to this message]
|