note 69493 deleted from function.session-start by peehaa
| From: | peehaa@php.net | Date: | Fri, 09 Dec 2016 22:03:55 +0000 |
| Subject: | note 69493 deleted from function.session-start by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208319@lists.php.net to get a copy of this message | ||
Note Submitter: roope dot luhtalaNOSPAM at iki dot fi
----
If your session_start() does not set a cookie, but instead just generates a new session_id on every
request, you should check if your script is echoing something before the function call. Even a line
change in the code before the session_start() function prevents the cookie to be set.