Solved

frames problem

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

707 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

13 Experts available now in Live!

Get 1:1 Help Now