note 27046 added to ref.session
| From: | phred at rack1 dot php dot net | Date: | Thu, 21 Nov 2002 11:15:25 +0000 |
| Subject: | note 27046 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39794@lists.php.net to get a copy of this message | ||
I messed around with that a whole afternoon:
$_SESSION is already a global variable. However, if you add global $_SESSION in you function, it
could be that on the rest of the page, all things entered into the sessions are lost at the next
call of the site...
--
http://www.php.net/manual/en/ref.session.php
http://master.php.net/manage/user-notes.php?action=edit+27046
http://master.php.net/manage/user-notes.php?action=delete+27046
http://master.php.net/manage/user-notes.php?action=reject+27046