note 80264 deleted from function.session-start by cmb
| From: | cmb@php.net | Date: | Mon, 21 Nov 2016 19:04:59 +0000 |
| Subject: | note 80264 deleted from function.session-start by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207284@lists.php.net to get a copy of this message | ||
Note Submitter: omnibus at omnibus dot edu dot pl
----
You probably know it but in case somebody did not:
session_start() must be called BEFORE any explicit operations on the $_SESSION variable; otherwise
$_SESSION will be treated as an ordinary variable and not stored for future use.