help on links validation

Results 1 to 5 of 5

Thread: help on links validation

  1. #1
    romain Guest

    Default help on links validation

    i would like check all of the URL of a web site<BR><BR>how can i do to check if one URL is valid (is it a dead link ?)<BR><BR>i would like to know if the URL is accessible and not if is good written<BR><BR>thanks for your help

  2. #2
    Rodders Guest

    Default RE: help on links validation

    You asked me in your earlier post about ASP HTTP - you can get info on it from

  3. #3
    romain Guest

    Default yes but no

    thanks but unfortunatly this component is not free<BR><BR>i search a method for checking URL and i don&#039t want to buy any component<BR><BR>if you have another idea, your are welcome<BR>

  4. #4
    Rodders Guest

    Default RE: yes but no

    OK, you could try using the Internet Transfer Control whichcomes built in to ASP (I think):<BR><BR>&#060;%<BR>Set Inet = Server.CreateObject("InetCtls.Inet.1")<BR>s = Inet.OpenURL("")<BR>if s = "" then ---&#062; link is invalid<BR>....<BR>....<BR>end if<BR>set inet = nothing<BR>%&#062;

  5. #5
    Rodders Guest

    Default RE: yes but no

    Sorry, I missed a bit of code out - it should look like this:<BR><BR>&#060;%<BR>Set Inet = Server.CreateObject("InetCtls.Inet.1")<BR>Inet.Req uestTimeOut=20<BR>s = Inet.OpenURL("")<BR>if s = "" then &#039link is invalid<BR>..<BR>your code<BR>..<BR>end if<BR>set Inet = nothing<BR>%&#062;

Posting Permissions

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