[thelist] How do you ping in asp?

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Fri Mar 18 15:33:22 CST 2005

   Assuming that you want to do this to verify the sender's IP address (which might make sense, depending on your goal), you can use any number of free components for this purpose.  I recommend ASPPing, available from ServerObjects.com:

   You can also get components that let you access the command line (i.e. the DOS prompt) from which you can then issue any commands that you would normally use from there.



 From: VOLKAN ÖZÇELIK volkan.ozcelik at gmail.com


Web is a disconnected medium. Once the request is sent to client there
is no means of pinging the server back. As a solution: You can use
client site code and an iframe that meta-refreshes itself and then
re-load the owner page. If you do not like the meta approach, you can
use setInterval js method in your main page to load iframe after a
certain timeout.

AFAIK, There are constructs in java which try to keep connection open
(pushlets is one of them), but I am dubious about their
efficiency/effectiveness. I am not sure, whether the pushlet logic can
be constructed in ASP Classic or ASP.Net either.

None the less, imho, you had better re-consider your design specs.What
you try to do is to change the nature of the web (web is a
disconnected medium as I said a priori)

If it is ultimately necessary for you to ping the server, i think the
IFRAME approach will best suit your needs.

HTH, Cheers,

On Fri, 18 Mar 2005 13:50:09 -0700, Christian Anderson
> Hi,
> I'm making a blog in ASP and I am at the point now where I'm going to set up
> pinging when new posts are published.
> How does this work exactly? Do you have to pass some kind of parameters to
> the sites that accept pings?
> Chris
> Christian Anderson ????????????
> :: http://www.ckapublishing.com
> :: MSN / Webcam : 
> platesonyourass at hotmail.com

More information about the thelist mailing list