I would like to session register a global variable that can be updated.
From what I can see session_register("var") registers the variable $var globally, but can't be changed.
eg
I register the variable $var like this.
$var="Hello World";
session_register("var");
however my script changes the variable $var to $var = "Goodbye World" it doesn't change globally.
is there another function that will allow me to globally register a variable so I don't have to post it between pages but will change everytime a script changes the variable?
Thanks again.