note 15442 deleted from function.session-register by jimw

From: Date: Tue, 18 Dec 2001 22:27:53 +0000
Subject: note 15442 deleted from function.session-register by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23272@lists.php.net to get a copy of this message
ok..this took me a while to figure out, and i haven't seen any good examples, so hear's a sample session. // First page session_start(); session_register('userID'); $userID = 4; // Next page session_start(); print $HTTP_SESSION_VARS['userID']; // prints 4 don't use $HTTP_SESSION_VARS until the next page, when you're recalling the variable you set in a page before

« previous php.notes (#23272) next »