Asp Help...

antifreezeantifreeze The guy with the goods! Join Date: 2003-05-12 Member: 16232Members, Constellation
<div class="IPBDescription">Please!</div> Ok then, im all confused and need help. Im at the moment building myself a website, i had intended to do this for a while but hadn't got round to it... Now i have. Although im stuck on how to make some of the features of my site work.

<u>1.</u>
A way to ping another server. I need my site to ping another server, if it gets a response it simply writes "Online", otherwise says "Offline". Here is the hard part though, i need to do this without registering any new DLL's or executing any exe files.

<u>2.</u>
How do i get the server to say how long it took to process the page. I have googled it but all the methods i found didnt seem to want to work, i dont know why either.

<u>3.</u>
How do i send a Wake On Lan request through the internet? I have seen it done, so know it can be done. Although that version ran from PHP.
<a href='http://www.rharmsen.nl/tools/index.php' target='_blank'>http://www.rharmsen.nl/tools/index.php</a>

Any ideas please guys, im very stuck.

Oh and dont worry doomeh, i will not be trying to challange the amazing <a href='http://www.doomaniac.com/' target='_blank'>http://www.doomaniac.com/</a>

Comments

  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    edited July 2004
    :)


    1) What language is the site in? If its PHP or Perl, this should be trivial. Of course you'll only get a response if the server you are pinging is configured to return a ping (which not that many are nowadays)

    2) Processing the page server side? Or processing it including the time it takes to download to the client? The former result would be quite trivial, the latter though would employee a voodoo mix-and-match of serverside code & javascript, but by no means should it be challenging.

    3) Why? The last thing I want is somebody turning my computer on through the interweb... ... so... why? Also I have real doubts about the security of such a thing...

    p.s. Thanks for being a fan. ;)

    [edit]
    Bah, just noticed the topic title. ASP sucks. Vastly inferior and not platform independant. Boo. :P
    [/edit]
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin-antifreeze+Jul 2 2004, 07:41 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (antifreeze @ Jul 2 2004, 07:41 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <a href='http://www.doomaniac.com/' target='_blank'>http://www.doomaniac.com/</a> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    I haven't been to your site recently doomeh. Psychadelic.
  • antifreezeantifreeze The guy with the goods&#33; Join Date: 2003-05-12 Member: 16232Members, Constellation
    edited July 2004
    lol, sorry for using asp doomeh.

    The server which will be getting pinged will be my home server running win2k, so it can be configured to return a ping.

    The timing bit, im wanting to catch the time it took the sever to parse the code.

    The WOL bit will be configured to turn on my home server if it isnt on, and i need it on. This bit would be password locked.

    [B]Edit:[B] If my hosting company will allow me to create a folder with execute permissions, could i run a batchfile and somehow use the data from that? My host simply said no exe files on the server, nothing about batch.
Sign In or Register to comment.