Reply to Re: Passing a variable between pages or scripts
Posted by kenoli on 11/15/06 15:27
I am noticing that even though they are both called "super globals,"
$GLOBALS and $_SESSION" have a different scope.
The former is only accessible within the immediate script, while the
latter, along with other super globals, is available anywhere in any
script any time until the session is ended.
This interesting as the description of their scope in php.net is
identical.