How can I verify if a page is loaded?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rubén Barrio

    How can I verify if a page is loaded?

    Hello,

    I have created two pages, the first page is stored in a free public web
    server, and the second one is stored in a personal computer. This computer
    is not allways on, so, sometimes, the page could not load.

    I want to create a "Zero" page that checks if the second page is accesible
    (and if it is, then redirect). And if the page is not accesible then
    redirect to the public server.

    Thank you


  • kaeli

    #2
    Re: How can I verify if a page is loaded?

    In article <lnNTa.551789$i M4.880187@telen ews.teleline.es >,
    metalbag@terra. es enlightened us with...[color=blue]
    > Hello,
    >
    > I have created two pages, the first page is stored in a free public web
    > server, and the second one is stored in a personal computer. This computer
    > is not allways on, so, sometimes, the page could not load.
    >
    > I want to create a "Zero" page that checks if the second page is accesible
    > (and if it is, then redirect). And if the page is not accesible then
    > redirect to the public server.[/color]

    Not with javascript. The pages are from different domains.
    You could do this in a server-side language with http abilities, such as
    java (servlets or jsp), ASP/C#/VBScript, or Perl(I think Perl has this
    in one of its modules).


    -------------------------------------------------
    ~kaeli~
    Black holes were created when God divided by 0.
    Not one shred of evidence supports the notion
    that life is serious.


    -------------------------------------------------

    Comment

    Working...