note 9060 added to Session handling functions
| From: | p dot fournier at ieee dot ca | Date: | Fri, 13 Oct 2000 13:51:11 +0000 |
| Subject: | note 9060 added to Session handling functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6448@lists.php.net to get a copy of this message | ||
If you want to start the session in a function and use the session variables as global variables in
that same function, you need to put your 'global $sessionvar1, $sessionvar2;' AFTER the
session_start() line.
http://www.php.net/manual/ref.session.php