472,353 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Recognising if the website is down

34
Hi all,
I have written a script which alerts on when the website is down.I have used XMLHTTP object and screen scraping the error and alerting it.But, sometimes it gives wrong alerts reason being the request to the page is not complete hence its sends alerts which are not true.Can any one tell me what would be the problem.Here is my code below
xml.Open "GET",x,true
Call xml.Send()
On Error Resume Next
If (responseState="Complete" and xml.Status<> 200) Then
send alerts

I dont understand why does it sends wrong alerts

Please, help me wth these.

Thanks
Oct 2 '06 #1
0 1063

Sign in to post your reply or Sign up for a free account.

Similar topics

20
by: MozillaCensorsMe | last post by:
Remember that tutorial I'm was threathening a few months ago? Well, everyone, just take a peek at completely wow-new http://www.andkon.com/ Too...
10
by: Harry Slaughter | last post by:
I've got a client who wants to see some immediate results on a brand new website. within a week, they'd like to see the following: 1) basic user...
4
by: Andy | last post by:
I would like to build a website using a template. I got one from internet but after I open it my new Internet Explorer gives me a warning : 'To help...
3
by: ferg | last post by:
Hey folks, I'm new to this malarky, but I can't find anywhere an example of programmatically recognising which tab a user has clicked. I know...
1
by: Bob | last post by:
I'm trying to centralize some of the resources (images, css, footer etc) into one website that all my apps can use. Simple things like images and...
12
by: tim | last post by:
I am using foldoutmenu 3 and am having problems with viewing my menus in firefox. On my sub3 menus i have more than one line of text in some...
1
by: Omar | last post by:
Hi All, We have several .NET websites running on IIS 6.0. At the moment, if a website is down, Admin will not know until one of the users reports...
8
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
I'm working with a microcontroller at the moment that has a single instruction for clearing a bit in a byte. I started off with the following...
2
by: Wayne Smith | last post by:
Applies to: Visual Studio 2008 Professional Hi everyone, I'm in the middle of creating a website with VS2008 and I'm trying to integrate a user...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.