note 20598 deleted from function.session-start by irc-html
| From: | irc-html@php.net | Date: | Tue, 23 Apr 2002 00:14:24 +0000 |
| Subject: | note 20598 deleted from function.session-start by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29709@lists.php.net to get a copy of this message | ||
Hello lopez@pepe-lopez.com,
Why are you declaring the variables as global, and why declare each element of $user as a session
variables when you can just session_register('user');
NOTE : had same problem with a function using a global variable, had to refer to it using
$GLOBAL['user'].