broken links or site down

Results 1 to 2 of 2

Thread: broken links or site down

  1. #1
    Join Date
    Dec 1969

    Default broken links or site down

    My site has links to many other sites. How can i programmatically know if a link is working or is down?

  2. #2
    Join Date
    Dec 1969

    Default Umm...

    Try and request it.<BR><BR>It depends if you&#039;re talking about "down, but returns information" ("404" kind of "down"), or "server down" ("cannot find server" kind of "down".<BR><BR>You can&#039;t programmatically either client-side (before they click a link), or natively in ASP. However, you can use the Microsoft XMLHTTP object to do a HTTP request for a web page. Using the response from that, you can decide if it&#039;s "up" or "down".<BR><BR>There are some articles on on how to use the XMLHTTP component.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts