Is it possible to determine whether website is online or offline other than using HttpWebRequest command?
Please do not suggest me using Ping method because I want to check website availability.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should send an ajax call to your header (domain). Add random number after the ? (this is to test even if you’re page is cached). This is how it is in javascript:
If you’re looking for C# codes on this, at least this javascript method will give you an idea.