473,395 Members | 1,568 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,395 software developers and data experts.

Can a asp page post data to another asp page inside frameset?

I know this is probably easy but here is the details. I have an asp
page that is not inside a frameset. I want to post data to another asp
page that is inside a frameset. So firstpage.asp has
action="response.htm" target="results".

response.htm...
<HTML>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="header.asp" NAME="fTop">
<FRAME SRC="another.asp" NAME="results">
</FRAMESET>
</HTML>

I cannot put firstpage.asp into the frameset because it takes data
from a outside page and I can only specify the return url from that
outside page to firstpage.asp. This needs to stay within one window
(ie no opening up new windows).

TIA

Luu
Jul 19 '05 #1
2 5062
On 7 Oct 2003 14:40:39 -0700, lu**************@hotmail.com (luu duong)
wrote:
I know this is probably easy but here is the details. I have an asp
page that is not inside a frameset. I want to post data to another asp
page that is inside a frameset. So firstpage.asp has
action="response.htm" target="results".

response.htm...
<HTML>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="header.asp" NAME="fTop">
<FRAME SRC="another.asp" NAME="results">
</FRAMESET>
</HTML>

I cannot put firstpage.asp into the frameset because it takes data
from a outside page and I can only specify the return url from that
outside page to firstpage.asp. This needs to stay within one window
(ie no opening up new windows).


While I disagree with the use of frames...

A frameset file is no different than any other HTML file except for
what is inside. Therefore, you can use an ASP file there too. Change
respose.htm to respose.asp and pass the querystring value passed to it
to the another.asp file inside it's "results" frame.

From firstpage.asp, your post will be...
action="response.asp"

I will assume here that you have a form text box named "MyID".

In response.asp...
<HTML>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="header.asp" NAME="fTop">
<FRAME SRC="another.asp?MYID=<%=request.form("MyID")%>"
NAME="results">
</FRAMESET>
</HTML>

Jul 19 '05 #2
Yes, your method would work, but what if I wanted to post the
variables to another.asp because it is a little more secure? Is this
possible with the current setup?

Thanks

Dan Brussee <db******@NOSPAMnc.rr.com> wrote in message news:<2u********************************@4ax.com>. ..
On 7 Oct 2003 14:40:39 -0700, lu**************@hotmail.com (luu duong)
wrote:
I know this is probably easy but here is the details. I have an asp
page that is not inside a frameset. I want to post data to another asp
page that is inside a frameset. So firstpage.asp has
action="response.htm" target="results".

response.htm...
<HTML>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="header.asp" NAME="fTop">
<FRAME SRC="another.asp" NAME="results">
</FRAMESET>
</HTML>

I cannot put firstpage.asp into the frameset because it takes data
from a outside page and I can only specify the return url from that
outside page to firstpage.asp. This needs to stay within one window
(ie no opening up new windows).


While I disagree with the use of frames...

A frameset file is no different than any other HTML file except for
what is inside. Therefore, you can use an ASP file there too. Change
respose.htm to respose.asp and pass the querystring value passed to it
to the another.asp file inside it's "results" frame.

From firstpage.asp, your post will be...
action="response.asp"

I will assume here that you have a form text box named "MyID".

In response.asp...
<HTML>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="header.asp" NAME="fTop">
<FRAME SRC="another.asp?MYID=<%=request.form("MyID")%>"
NAME="results">
</FRAMESET>
</HTML>

Jul 19 '05 #3

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

Similar topics

4
by: John Beschler | last post by:
I'm developing a framset with links in the top frame that I want to use to position the page in the bottom frame to a certain anchor. Problem is the page in the bottom frame is an ASP page. ...
1
by: Ann Leland | last post by:
I have been using session variables to pass a user name from one ASP page to another inside framesets for 9 months and it stopped working this week. I have made no code changes but there was a...
8
by: Zvonko | last post by:
Hi! Is it possible to capture an event when user leaves the page and execute some code? Not when he closes the window. Any ideas?
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
7
by: sunil philip | last post by:
How do i identify the page that fired a method? e.g. page1.html ----------- <Head> <script> document.write(myfun()); </script>
1
by: success_ny | last post by:
I cannot seem to find the answer to this rather simple question. Pardon me if it looks illogial or silly. Can I create a frame in the same page without referring to other html files? I.e., I...
6
by: FayeC | last post by:
Here's a question for you: I have a site using a PHP CMS and I need it to use an ASP module from another site but I would like to use a frame so it looks like it is still in the same site. I need...
3
by: Aaron | last post by:
I'm trying to parse a table on a webpage to pull down some data I need. The page is based off of information entered into a form. when you submit the data from the form it displays a...
25
by: Geoff Cox | last post by:
Hello, The following <frame src="topbar-frameset.php?newVar=<?php echo $groups; ?>"> passes the value of the variable $groups from a php file to the top page in a frameset but how do I...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.