Testing URLs with ASP

Results 1 to 3 of 3

Thread: Testing URLs with ASP

  1. #1
    Glenn J. Schworak Guest

    Default Testing URLs with ASP

    I have a web page that I allow users to add their links to using ASP and ADO to keep track of the links. I want to test these links when the user submits the form and before it is entered into the database. Is there a way to do this using ASP?<BR><BR>I have something like this on my unix server written in PERL and it works great. But I want to have the same thing on the ASP system. I am running PWS as my server.

  2. #2
    Join Date
    Dec 1969

    Default RE: Testing URLs with ASP

    Really the only way to do this is to issue a GET request to ensure that it returns a web page (or something). You could create your own to do it, or use a commercial one like Steve Genusa&#039s AspHTTP--http://www.serverobjects.com/products.htm#Asphttp.<BR><BR>Regards,<BR><BR>Todd

  3. #3
    Join Date
    Dec 1969

    Default RE: Testing URLs with ASP

    Use an on error resume next, followed by a:<BR><BR>on error resume next<BR>window.open(s_URL)<BR>if err&#060;>0 Then b_BadURL=True<BR><BR>

Posting Permissions

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