$HTTP_SESSION_VARS ? Have I got it wrong
| From: | Henry | Date: | Wed, 17 Jul 2002 14:14:27 +0000 |
| Subject: | $HTTP_SESSION_VARS ? Have I got it wrong | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-108083@lists.php.net to get a copy of this message | ||
The answer is probably yes.
I do a
"session_start()" followed by a "$HTTP_SESSION_VARS['count']=2" on one
page.
Then I go to another page and do a "session_start()" again; unfortunately
the $HTTP_SESSION_VARS['count'] is empty!!!
I tried doing a "session_register('count2'); $count2=123;" in the first page
followed by another page where I display "$count2" and that works fine.
Why?
Henry