note 107788 added to session.examples.basic
| From: | Anonymous | Date: | Mon, 05 Mar 2012 01:39:57 +0000 |
| Subject: | note 107788 added to session.examples.basic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186492@lists.php.net to get a copy of this message | ||
re: above "caution" messages eg. Caution
Do NOT unset the whole $_SESSION with unset($_SESSION) as this will disable the registering of
session variables through the $_SESSION superglobal.
If you are never supposed to do it, php should either disallow it, or treat it as a warning or
error level condition. Documenting don't ever do something the php system silently accepts is
not an effective communication or implementation. (imho)
----
Server IP: 192.41.42.26
Probable Submitter: 99.18.229.255
----
Manual Page -- http://www.php.net/manual/en/session.examples.basic.php
Edit -- https://master.php.net/note/edit/107788
Del: integrated -- https://master.php.net/note/delete/107788/integrated
Del: useless -- https://master.php.net/note/delete/107788/useless
Del: bad code -- https://master.php.net/note/delete/107788/bad+code
Del: spam -- https://master.php.net/note/delete/107788/spam
Del: non-english -- https://master.php.net/note/delete/107788/non-english
Del: in docs -- https://master.php.net/note/delete/107788/in+docs
Del: other reasons-- https://master.php.net/note/delete/107788
Reject -- https://master.php.net/note/reject/107788
Search -- https://master.php.net/manage/user-notes.php