PDA

Click to See Complete Forum and Search --> : Global variables


turfbult
Oct 16th, 2000, 03:03 AM
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?

monte96
Oct 16th, 2000, 10:25 AM
You could use Session variables...

turfbult
Oct 16th, 2000, 10:29 AM
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!!

monte96
Oct 16th, 2000, 04:23 PM
Session("Myvariable") = "Whatever"


Then to retrieve it:

MyPageVariable=Session("Myvariable")