Re: through asp.net in C# how to check a web site is up
- From: "Mark Rae" <mark@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 12 May 2006 09:09:10 +0100
"Suresh.P.R" <SureshPR@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AF8B0B8C-2E12-46D3-B739-30C5A75D8AB3@xxxxxxxxxxxxxxxx
Please tell me how we can activate pinging the ip address through the
ASP.Net Page. Please help me.
1) Please re-read my earlier reply - you CAN'T use an ASP.NET page to check
itself...if the site is down, the page won't load so it won't be able to
check itself, will it...?
2) You can't expect ping to tell you whether a website is up or not - even
if ICMP has not been disabled, all that a ping from a webserver will tell
you is that the server is on - it will not tell you if IIS is running or if
a website is up or not.
3) As I've already told you, if you want to be certain that a website is
available (i.e. responding to requests), then you have to send it a request
and interrogate its response.
Once again:
http://www.google.com/search?hl=en&lr=&rls=GGLG%2CGGLG%3A2005-48%2CGGLG%3Aen&q=HttpWebRequest+HttpWebResponse
.
- References:
- Re: through asp.net in C# how to check a web site is up
- From: Mark Rae
- Re: through asp.net in C# how to check a web site is up
- Prev by Date: Re: Copy/Cut/Paste menu
- Next by Date: Re: session object reinstantiated every time page is refreshed
- Previous by thread: Re: through asp.net in C# how to check a web site is up
- Next by thread: Re: through asp.net in C# how to check a web site is up
- Index(es):
Relevant Pages
|