Solved

frames problem

Posted on 1998-11-11
4
178 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

861 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now