How can I define global variables using asp - vbscript.
I just need 2 variables which I set in page 1 and 2 and then need to use 3 pages down the line (......if you know what I mean)
Any suggestions?
Printable View
How can I define global variables using asp - vbscript.
I just need 2 variables which I set in page 1 and 2 and then need to use 3 pages down the line (......if you know what I mean)
Any suggestions?
You could use Session variables...
Monte96,
I'm pretty much of a newbie - can you give me some example code...
I'm currently using cookies(and it works fine), but now I can't use netscape!!
Then to retrieve it:Code:Session("Myvariable") = "Whatever"
Code:MyPageVariable=Session("Myvariable")