Since my ISP rebuilt PHP and turned Register Globals off, my Sessions are now broken. According to the PHP site: ==== If you want your script to work regardless of register_globals, you need to use the $_SESSION array. All $_SESSION entries are automatically registered. If your script uses session_register(), it will not work in environments where register_globals is disabled. ==== So I changed it to: =====page1.php==== [test] ====page2.php==== ================= It displays the value in Page 1, but not in Page 2. If I take GLOBAL out then it throws an error in Page 2. Does anyone have a work around? (Other than passing via URL/Post, PHP plugin, or turning Register_Globals on!)
1) Complete and fully-functional script.
PHP (Latest version) (Linux)