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

M

Matt

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!!
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top