note 127980 added to sessionhandler.read

From: Date: Mon, 05 Dec 2022 10:04:06 +0000
Subject: note 127980 added to sessionhandler.read
Groups: php.notes 
Request: Send a blank email to php-notes+get-219937@lists.php.net to get a copy of this message
Please note that you have to return false only for PHP 8+. For the older versions you have to return an empty string, otherwise you will get an error 'Warning: session_start(): Failed to read session data: user (path: 127.0.0.1:9999)' ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.161 (proxied: 37.214.51.40) ---- Manual Page -- https://php.net/manual/en/sessionhandler.read.php Edit -- https://main.php.net/note/edit/127980 Del: integrated -- https://main.php.net/note/delete/127980/integrated Del: useless -- https://main.php.net/note/delete/127980/useless Del: bad code -- https://main.php.net/note/delete/127980/bad+code Del: spam -- https://main.php.net/note/delete/127980/spam Del: non-english -- https://main.php.net/note/delete/127980/non-english Del: in docs -- https://main.php.net/note/delete/127980/in+docs Del: other reasons-- https://main.php.net/note/delete/127980 Reject -- https://main.php.net/note/reject/127980 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219937) next »