473,386 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

post form data and open an invisible window

Is it possible to post form data and open an invisible window?

For example, in page1.as

<form action="page2.asp" method="POST"

It will post the form data from page1.asp to the server, and open page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it possible?

Please advise. Thanks!!
Jul 19 '05 #1
6 3877
You could post to a hidden iFrame not all browsers support iFrames though.
Or, you can just make Page2's response look just like page1's, and the user
won't know the difference.

"Matt" <an*******@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Is it possible to post form data and open an invisible window??

For example, in page1.asp

<form action="page2.asp" method="POST">

It will post the form data from page1.asp to the server, and open page2.asp.
But I dont want to make page2.asp invisible. Any ideas?? Is it possible??

Please advise. Thanks!!
Jul 19 '05 #2
I am using IE, do u think its ok?
"Lance Wynn" <la********@N.O.S.P.A.M.hotmail.com> wrote in message
news:e0**************@TK2MSFTNGP09.phx.gbl...
You could post to a hidden iFrame not all browsers support iFrames though.
Or, you can just make Page2's response look just like page1's, and the user won't know the difference.

"Matt" <an*******@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Is it possible to post form data and open an invisible window??

For example, in page1.asp

<form action="page2.asp" method="POST">

It will post the form data from page1.asp to the server, and open page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it possible??

Please advise. Thanks!!

Jul 19 '05 #3
Use a frameset with a 1 pixel wide frame for the response

<frameset cols="*,1" frameborder="NO">
<frame src="page1.asp" name="main" scrolling="auto">
<frame src="blank.html" name="results" scrolling="NO" noresize>
</frameset>
In page1.asp:
<form action="page2.asp" target="results" method="POST">
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Matt" <an*******@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Is it possible to post form data and open an invisible window??

For example, in page1.asp

<form action="page2.asp" method="POST">

It will post the form data from page1.asp to the server, and open page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it
possible??
Please advise. Thanks!!

Jul 19 '05 #4
Although certain versions of IE (notably 5.5) GPF with 1px wide frames.
Been there, hated that.

- Wm
--
William Morris
Product Development, Seritas LLC
Kansas City, Missouri

"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Use a frameset with a 1 pixel wide frame for the response

<frameset cols="*,1" frameborder="NO">
<frame src="page1.asp" name="main" scrolling="auto">
<frame src="blank.html" name="results" scrolling="NO" noresize>
</frameset>
In page1.asp:
<form action="page2.asp" target="results" method="POST">
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Matt" <an*******@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Is it possible to post form data and open an invisible window??

For example, in page1.asp

<form action="page2.asp" method="POST">

It will post the form data from page1.asp to the server, and open

page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it
possible??

Please advise. Thanks!!


Jul 19 '05 #5
You could always have the processing stuff in the same page............?

<%
strTemp = request.querystring("tmp")
if strTemp = "" then
%>

Show your form here

<%
else
'// Your processing stuff

'// re-dir back to the actual page, so the user doesn't see anything
response.redirect "page2.asp"
response.end
end if
%>

--

Regards

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

Keeping it FREE!
"Matt" <an*******@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Is it possible to post form data and open an invisible window??

For example, in page1.asp

<form action="page2.asp" method="POST">

It will post the form data from page1.asp to the server, and open page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it
possible??
Please advise. Thanks!!

Jul 19 '05 #6
then make it 2 pixels :)

I have never seen the GP problem and have been using the 1pixel "hidden"
frame window approach for this kind of thing since IE4. Perhaps it makes a
difference if a 1pixel row is used instead of the column or the relative
position of the "hidden" frame (ours is typically last in the frameset
definition).

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"William Morris" <ne***************************@seamlyne.com> wrote in
message news:2h************@uni-berlin.de...
Although certain versions of IE (notably 5.5) GPF with 1px wide frames.
Been there, hated that.

- Wm
--
William Morris
Product Development, Seritas LLC
Kansas City, Missouri

"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Use a frameset with a 1 pixel wide frame for the response

<frameset cols="*,1" frameborder="NO">
<frame src="page1.asp" name="main" scrolling="auto">
<frame src="blank.html" name="results" scrolling="NO" noresize>
</frameset>
In page1.asp:
<form action="page2.asp" target="results" method="POST">
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Matt" <an*******@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Is it possible to post form data and open an invisible window??

For example, in page1.asp

<form action="page2.asp" method="POST">

It will post the form data from page1.asp to the server, and open

page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it possible??

Please advise. Thanks!!



Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Rui Pestana | last post by:
Hello all, I want to use the POST method to submit the form and then grab the parameters in the asp file with request.form("parm"). The problem is that I am using the _search target to open...
1
by: Matt | last post by:
Is it possible to post the form data and open the page as a modal window? Because when I do the following, it will open page2.asp in a new window, but I still able to manipulate page1.asp. I want...
1
by: Matt | last post by:
The following program submit a FORM DATA to a new window using HTTP POST, and postprocess.asp couldn't get the form data. If I do in GET method and pass by query string in windowURL, then it...
11
by: Saqib Ali | last post by:
Please excuse me, this is a fairly involved question that will likely require you to save the file below to a file and open it in a browser. I use Mozilla 1.5, so the problem I describe below...
14
by: alwayshouston | last post by:
Hi All! I am working on this very small database and I am confused in the designing a simple form. I only have three tables in the database. First Table: tblExpense Columns: ExpenseID ;...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
1
by: Sunil Sabir | last post by:
Dear All, I have a search form which has 3 drop down boxes dropID ,dropPostCode, dropName. when I select some thing in the dropID name lets say 0001 I press go button.It displays a Record of...
2
by: gialby | last post by:
Ciao i have this problem.... i have a main asp page with this code PARENT PAGE <script language="vbScript"> function ricerca() ...
4
by: Bosconian | last post by:
I have created a form tool page that consists of several dropdowns which allows a user to drill down and select a desired document for viewing in an external window. I need to post the form data to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.