Recently I begin to use session feature in php 4.0. But when I register an variable in main program,it does. Also I can read its value in another page. But when I do the same in an function, it seems that the variable is unregistered. Of course,I can write code in another including file with registering function in its own main program. But I wanna know if there is another way to achive. By the way, I call session_start() in every page myself.
Any ideas?