Form post to multiple pages

Discussion in 'ASP General' started by TRB_NV, May 21, 2004.

  1. TRB_NV

    TRB_NV Guest

    Assuming the following code actually worked, I'd like to take data entered
    from one form and post it to two different locations. Hypothetically, I
    have a server in NY and one in LA that I want to get the same information.

    <form action="http://ny.server.com/test.asp"
    action="http://la.server.com/test.asp" method="post">
    Name:
    <input type="text" name="request" /><br />
    <input type="submit" value="Submit">

    '''Contents of ny.server.com/test.asp
    <%
    response.write "Data saved on NY server"
    %>

    '''Contents of server2.com/test.asp
    <%
    response.write "Data saved on LA server"
    %>
     
    TRB_NV, May 21, 2004
    #1
    1. Advertisements

  2. TRB_NV

    dlbjr Guest

    When the server receives the post from the form, do a MXLHTTP call to the other server to replicate
    the call.

    'from dlbjr

    'Unambit from meager knowledge of inane others,engender uncharted sagacity.
     
    dlbjr, May 21, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Do Phan Duy

    Form authentication & multiple login pages

    Do Phan Duy, Sep 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    717
    Do Phan Duy
    Sep 15, 2004
  2. Do Phan Duy

    Form authentication & multiple login pages

    Do Phan Duy, Sep 14, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    490
    Do Phan Duy
    Sep 14, 2004
  3. Replies:
    1
    Views:
    3,481
    PeterKellner
    May 16, 2006
  4. livin
    Replies:
    12
    Views:
    1,171
    livin
    Jan 8, 2006
  5. Don Glover the younger

    ASP, FORMS, POST METHOD And Post with out form(???)

    Don Glover the younger, Jul 13, 2003, in forum: ASP General
    Replies:
    0
    Views:
    649
    Don Glover the younger
    Jul 13, 2003
  6. Slug

    submit form to multiple pages

    Slug, Oct 12, 2004, in forum: ASP General
    Replies:
    4
    Views:
    345
    Aaron [SQL Server MVP]
    Oct 12, 2004
  7. J. Muenchbourg
    Replies:
    0
    Views:
    540
    J. Muenchbourg
    Aug 6, 2003
  8. Adam
    Replies:
    8
    Views:
    682
Loading...