submit form data and open a new page is not necessary replace the existing page

Discussion in 'ASP General' started by Matt, May 29, 2004.

  1. Matt

    Matt Guest

    The following will both post the form data using HTTP POST method to the
    server2, and then open page2.asp, right? It is not posting form data to
    server1.
    The only difference is that #1 will just replace page1.asp with page2.asp.
    But in #2, it will open a new window for page2.asp, and page1.asp also
    there.
    So that means post the form data and open a new page is not necessary
    replace the existing page, case 2 is a good example. That's my confusions.

    1. In page1.asp in server1, it has <form action="http://server2/page2.asp"
    method="post">
    2. In page1.asp in server1, it has <form action="http://server2/page2.asp"
    method="post" target="_blank">

    Please help verify. Thanks!!
     
    Matt, May 29, 2004
    #1
    1. Advertising

  2. Matt

    Steven Burn Guest

    Matt,
    What was wrong with Curt C's answer? (27-05-2004 20:27)

    --

    Regards

    Steven Burn
    Ur I.T. Mate Group
    www.it-mate.co.uk

    Keeping it FREE!


    "Matt" <> wrote in message
    news:e#...
    > The following will both post the form data using HTTP POST method to the
    > server2, and then open page2.asp, right? It is not posting form data to
    > server1.
    > The only difference is that #1 will just replace page1.asp with page2.asp.
    > But in #2, it will open a new window for page2.asp, and page1.asp also
    > there.
    > So that means post the form data and open a new page is not necessary
    > replace the existing page, case 2 is a good example. That's my confusions.
    >
    > 1. In page1.asp in server1, it has <form action="http://server2/page2.asp"
    > method="post">
    > 2. In page1.asp in server1, it has <form action="http://server2/page2.asp"
    > method="post" target="_blank">
    >
    > Please help verify. Thanks!!
    >
    >
    >
     
    Steven Burn, May 29, 2004
    #2
    1. Advertising

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. Dario Zuffi
    Replies:
    24
    Views:
    21,348
    Travis Newbury
    Oct 31, 2004
  2. Replies:
    2
    Views:
    6,295
  3. Joe
    Replies:
    1
    Views:
    224
    Aaron [SQL Server MVP]
    Jun 1, 2004
  4. Replies:
    2
    Views:
    378
  5. Replies:
    3
    Views:
    726
Loading...

Share This Page