Link to home
Start Free TrialLog in
Avatar of rvsamuel
rvsamuel

asked on

frames problem

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.







ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rvsamuel
rvsamuel

ASKER

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



sorry type:

<frame name =frame2 src=4.asp?var=<%=var1%>>
thanx my problem is solved