note 20547 added to ref.session
| From: | mikebailey1 at compuserve dot com | Date: | Sun, 07 Apr 2002 20:31:58 +0000 |
| Subject: | note 20547 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28933@lists.php.net to get a copy of this message | ||
Dear all,
The ultimate answer to the SESSION problems appears to be the new version 4.2.0 (currently waiting
as release candidate) in that version it all seems to work just as I would have expected, without
work-arounds.
$_SESSION["var"] = "fred";
a few pages later ....
$var2 = $_SESSION["var"];
echo $var2;
...prints out "fred" !
Also the session_destroy() works - you can even watch the file being deleted.
best regards
Mike
--
http://www.php.net/manual/en/ref.session.php
http://master.php.net/manage/user-notes.php?action=edit+20547
http://master.php.net/manage/user-notes.php?action=delete+20547
http://master.php.net/manage/user-notes.php?action=reject+20547