post from client to server1 to server2

Results 1 to 2 of 2

Thread: post from client to server1 to server2

  1. #1
    Join Date
    Dec 1969

    Default post from client to server1 to server2

    here&#039s the scenerio:<BR>1. client posts a form<BR>2. server1 receives the form and messages the info<BR>3. server1 posts (forwards) the message to another server2<BR>4. server2 processes the form and responds to server1<BR>5. server1 responds to client.<BR><BR>I want to know if there is a way to post from server 1 to server2 in ASP????

  2. #2
    AnAx ( Guest

    Default RE: post from client to server1 to server2

    I &#039think&#039 you can use this:<BR><BR>In the exampel below Im just sending the Name from the form.<BR><BR>On Server #1<BR><BR>Response.Buffer = True<BR><BR>Set Inet = Server.CreateObject("InetCtls.Inet.1")<BR>Inet.Req uestTimeOut=20<BR>Inet.Url = "Http://" & request.Form("Name")<BR>TheResponse = Inet.OpenURL<BR>response.write(TheResponse)<BR><BR ><BR>On Server #2<BR><BR>&#060;%<BR>Name = Request.QueryString("Name")<BR>Do some stuff with the name...<BR><BR>Response.Write ("All Ok!")<BR>%&#062;<BR><BR>The code written in HTML is returned from server #2 to server #1 so TheResponse on Server #1 will be "All Ok!"<BR><BR>Hope that helps some...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts