Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > submit form data and open a new page is not necessary replace the existing page

Reply
Thread Tools

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

 
 
Matt
Guest
Posts: n/a
 
      05-29-2004
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!!



 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      05-29-2004
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" <(E-Mail Removed)> wrote in message
news:e#(E-Mail Removed)...
> 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!!
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
submit 1 form to 2 servers or 2 forms to 2 server (1 form each) on 1 submit abansal.itp@gmail.com Javascript 3 06-23-2007 07:29 AM
submit the form data to the popup window without a submit button jrefactors@hotmail.com Javascript 2 01-01-2005 06:07 AM
submit the form data to the popup window without a submit button jrefactors@hotmail.com HTML 2 01-01-2005 06:07 AM
iframe - submit form and open a new page Dario Zuffi HTML 24 10-31-2004 03:49 AM
Form submit - hitting enter does not trigger Submit button ASP General 2 10-25-2004 03:37 PM



Advertisments