I know that you can pass a variable from page to page using querystring like this:
and then retrieve it on the the recieving file, (in this case MyFile.asp) using request.querystring ("Test"
But...
I have a situation where I'd like to open a new window, so efftively, I now have:
How (or is it possible) do you pass information from one page to another in this case?
I'd guess you'd have to use some kind of session variable, but I'm not sure exactly how.
What I'm trying to do is capture the text of the hyperlink that the user clicked that opened the new window, and have it say something like, "you chose x"
Hope you can help - thank you. Q: Why is my computer doing that?
A: Random Perversity of Inanimate
Objects
Code:
<a href="MyFile.asp?Test='hello'">
and then retrieve it on the the recieving file, (in this case MyFile.asp) using request.querystring ("Test"
But...
I have a situation where I'd like to open a new window, so efftively, I now have:
Code:
<a href='#' onClick=window.open('MyFile.asp','FileName','height=600px,width=370px'); return false;>
How (or is it possible) do you pass information from one page to another in this case?
I'd guess you'd have to use some kind of session variable, but I'm not sure exactly how.
What I'm trying to do is capture the text of the hyperlink that the user clicked that opened the new window, and have it say something like, "you chose x"
Hope you can help - thank you. Q: Why is my computer doing that?
A: Random Perversity of Inanimate
Objects