473,699 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Broken Link Checker

Anyone knows how to detect broken link using ASP?

Just say the link is got from query string, ie:


Jul 19 '05 #1
2 3081
To check the validity of a given url (say it is from query string or from
Basically here what I want:
sURL = Request("url")

if isValidURL(sURL ) then
response.write "This url is valid"
response.write "This url isn't valid"
end if


Now, any ideas how to create this "isValidURL " function?

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:OB******** ******@TK2MSFTN GP10.phx.gbl...
What are you looking to do now?

Ray at home

Will trade ASP help for SQL Server help
"Danny" <da***@nospam.c om> wrote in message
news:ui******** *****@TK2MSFTNG P09.phx.gbl...
Anyone knows how to detect broken link using ASP?

Just say the link is got from query string, ie:


Jul 19 '05 #2
This is what I want.

Thanks Curt.

"Curt_C [MVP]" <Software_AT_Da rkfalz.com> wrote in message
news:eJ******** ******@TK2MSFTN GP09.phx.gbl...

Curt Christianson (Software_AT_Da rkfalz.Com)
Owner/Lead Designer, DF-Software
..Offering free scripts & code snippits for everyone...

"Danny" <da***@nospam.c om> wrote in message
news:ui******** *****@TK2MSFTNG P09.phx.gbl...
Anyone knows how to detect broken link using ASP?

Just say the link is got from query string, ie:


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: saqib ali | last post by:
Hello All, I manage a rather large website, that has several hundred content managers. These content managers can create links at their will. I want to take a look a list of all the Links that are on our website. Is there a utility that can generate a list (text based) of all the URLs that are mentioned on our website? Thanks.
by: Andy Dingley | last post by:
Assume an English language page, linking to a foreign history resource that's only available in a foreign language. Any suggestions on appropriate "best practice" markup, particularly regarding the scope of a lang attribute applied to a <a> element ? <p>Francisco de Miranda's <a href="http://www.simon-bolivar.org/bolivar/miranda_oci.html" title="Biography of Francisco de Miranda (in Spanish)" lang="es" >biography</a></p>
by: Craig Cockburn | last post by:
I have a tool which tells me the number of times that visitors attempt to access a link from my site to an external site and what the response code received was. In the event of the remote site returning an error code, they are not sent to the remote site - why bother, it wouldn't work! Since I have over 1000 external links, this allows me to locate the broken links that people see the most often and fix those first. Conventional link...
by: Steve | last post by:
Hi; I had a big link checking job to do and it has been years since I have done anything like that so I found a test page to use that I knew had bad links on it( a friends site ) and I decided to test the various free services out. I tried about 5 different link checkers on the test page I had , including Xenu and NetMechanic. I got 5 sets of identical results.
by: Steve | last post by:
Hi Guys; You have been giving me a lot of useful information in the other two threads. Thanks! Very interesting. Here is my situation. My friend is writing a book. He has 3100 citations, 1225 of which have URLs. He wants to Q/C the urls. He removed the http:// from the urls when he prepared his materials. I wrote a script that extracted the citation number and the urls from his citation list, prepended an "http", and
by: durumdara | last post by:
Hi ! Sorry for non-pythonic subject, but if I not find good solution, I will write a routine for this in python... :-))) My mod_py site is growing quickly. It have many pages, many of them are dynamic. I want to check the links, and if possible, validate the html. I search freeware tools in the net, but I found only "HTML Link
by: kolmogolov | last post by:
/* Hi, I have removed things irrelevant to reproducing the problem. What's wrong with my code? Thanks in advance for any hint! 1166425362 */ #include <stdio.h> #include <stdlib.h> #include <string.h>
by: Neil | last post by:
Is there way to have control over the MS-Access spell checking (besides just launching it)? We want to tell it to check all records, but skip certain fields (or, alternatively, ONLY check certain fields). Is that possible? Alternatively, if that's not, we noticed that the spell checker skips fields that are disabled. So one could disable the fields to be skipped; run the spell checker; and then re-enable those fields when done. But how...
by: Giampaolo Rodola' | last post by:
Hi there, I would like to know if such function would be correct for verifying if a link is broken and/or circular. def isvalidlink(path): assert os.path.islink(path) try: os.stat(path) except os.error: return 1
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.