By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,934 Members | 1,366 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,934 IT Pros & Developers. It's quick & easy.

post form data and open an invisible window

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.