Earl Kelly
asked on
Problem with ASP Script
Hey guys I have a simple project that I think should be easy but I seem to be banging my head on the wall. I have a page called page1.asp that is sending a variable to page two like this:
page2.asp?ID=3723
I have page 2 capturing that string in a variable called ID1 using a request.querystring"ID"
What I want to do is open page3 using a link and passing the same variable from page two like this:
page3.asp?ID=Request.Write (ID1)
But that doesn't seem like it working. Am I doing something wrong? What should I be using?
page2.asp?ID=3723
I have page 2 capturing that string in a variable called ID1 using a request.querystring"ID"
What I want to do is open page3 using a link and passing the same variable from page two like this:
page3.asp?ID=Request.Write
But that doesn't seem like it working. Am I doing something wrong? What should I be using?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also
<%
' get the query into a variable
Dim id1
id1=Request.QueryString("I D1")
' then you can use it in a Response.Write
%>
page3.asp?ID=<%=id1%>
<%
' get the query into a variable
Dim id1
id1=Request.QueryString("I
' then you can use it in a Response.Write
%>
page3.asp?ID=<%=id1%>
You can try the following!
Open in new window
Hope it helps u...