note 11469 deleted from function.session-register by jimw
| From: | jimw@php.net | Date: | Tue, 18 Dec 2001 22:25:59 +0000 |
| Subject: | note 11469 deleted from function.session-register by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23260@lists.php.net to get a copy of this message | ||
When trying to register a variable, make sure that you make it global before you give it the value
you wish to store:
For ex., inside a class this will not work...
$storeMe = "stored value";
session_register("storeMe");
but this will:
global $storeMe;
$storeMe = "stored value";
session_register("storeMe");