Solved

frames problem

Posted on 1998-11-11
4
184 Views
Last Modified: 2013-12-25
hi,
i have four asp's.i have a value in 1.asp.this value is posted to 2.asp,but i want that same value in 4.asp
my code is as follows

1.asp

<html>
<body>
<form action = 2.asp method =post>
<%dim var
var = 5%>
</form>
</body>
</html>
***************************
2.asp

<html>
<%dim var1%>
<% var1 = Request("var")%>
<frameset>
<frame name =frame1 src=3.asp>
<frame name =frame2 src=4.asp>
</frameset>
</html>
**
i want the value in 2.asp in 4.asp,the problem i think is due to frame creation ,is there any solution to this problem.if so reply with code.thanx.







0
Comment
Question by:rvsamuel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 50 total points
ID: 1856294
Pass the variable in a querystring to 4.asp

2.asp

<html>
<%dim var1%>
<% var1 = Request("var")%>
<frameset>
<frame name =frame1 src=3.asp>
<frame name =frame2 src=4.asp?var=<%var1%>>
</frameset>
</html>

0
 

Author Comment

by:rvsamuel
ID: 1856295
Sybe,
thanx for the response.the problem still persists.I have a doubt.
<frame name =frame2 src=4.asp?var=<%var1%>> ,are u using the same variable used in 1.asp(though it is local)?The second is how do i retrieve it in my 4.asp,still i cannot retrieve it.I used
var2 = Request.Querystring(var)
Response.Write var2
Is this right?or where am i wrong

0
 
LVL 28

Expert Comment

by:sybe
ID: 1856296


sorry type:

<frame name =frame2 src=4.asp?var=<%=var1%>>
0
 

Author Comment

by:rvsamuel
ID: 1856297
thanx my problem is solved
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question