Hi all, can anyone give me any tips on how to build an ASP system that will ping multiple addresses and display and "OK" message providing it receives a reply and "NOT OK" if a reply is not received?
I think in order to do that you'll need access to the shell command - which most hosting services won't give you permissions to.
another thing you can do is write a dll that preforms that action, register it on the server and use it in your asp code.
if you are working with asp.net however you can use the different network namespaces available to you to preform that action.
Provide me the details of your idea for which purpose you want to ping this address. If you want to ping any ip address on internet you can do it with asp easily.
Hi all, can anyone give me any tips on how to build an ASP system that will ping multiple addresses and display and "OK" message providing it receives a reply and "NOT OK" if a reply is not received?
This would be a lot easier to accomplish with ASP.NET than ASP Classic. It's not something I've had to do before, so I don't have exact instructions for you ... but I'd bet my lunch there's something under System.Networking.??? that will ping an address and give you back true/false, along with speed and packet loss info.
Even if your entire site is in ASP Classic, you can run that side-by-side with ASP.NET in the same web site. The downside is you can't (easily) share session state between them.
You want to either store the list of addresses to ping in a database table, or an xml file.