How to trigger HTTP requests programatically?

Hello,

How can I programatically send an HTTP request for a file on the server?


SCENARIO
I have an ASP script, called test.asp as follows :-

.
.
.
  <%
     Set RS = Server.CreateObject("ADODB.RecordSet")
     connect = "dsn=pt;uid=sa;pwd=;"
     RS.Open "exec MyStoredProc", connect , adDynamicOpen
  %>
.
.
.
I want to load / trigger test.asp from the following HTML file.
(See ***)How do I do it?
.
.
.
  <HTML>
         <SCRIPT LANGUAGE="JSCRIPT">
   function LoadASP()
   {
***    //Here I want to invoke test.asp. How do I do it?
   }
         </SCRIPT>
         <BODY>
         <FORM name="TestForm">
         <INPUT type="button" name="HISTORY" value="VIEW HISTORY"
OnClick="LoadASP()"/>
    </FORM>
   </BODY>
  </HTML>



Thanks for any suggestions :-)

       AMIT

Received on Monday, 10 August 1998 09:38:42 UTC