If you are using a custom session handler probably you noticed this kind of issue when you upgraded to PHP7. Keep this information in mind since in the PHP documentation it is not really clear at the moment of writing this article.
Since PHP 5 these changes affected custom session handler implementation:
- The read method should return an empty string if the session was not started yet
- The write method should return either true or false