don't use session_register(). Try creating a couple of test pages as follows...
page1.php <? session_start(); $_SESSION['test'] = 'Blah'; ?> page2.php <? session_start(); echo $_SESSION['test']; ?> HTH Rich -----Original Message----- From: Bobo Wieland [mailto:[EMAIL PROTECTED]] Sent: 13 January 2003 10:56 To: [EMAIL PROTECTED] Subject: [PHP-WIN] $_SESSION Hi... Feels like I'm spaming this list with this many questions all at once. But here is one more: I'm having problems with displaying session variables now since I turned register_globals off... before I had this code for a session variable: session_register("test"); $test = "Hello world"; and to display it on another page I had to use: session_register("test"); echo $test //displayed 'Hello World' But now nothing works... I've tried lots of different combination with session_register() and $_SESSION[] but nothing works... How do I do this? I've tried making something out of what is said on php.net but I don't understand... .bobo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php