472,950 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,950 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 3853
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.