You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Yii vesion 2.0.15
| PHP version 7.1
| Operating system centos
redis:4.0.2
`/**
* Session read handler.
* Do not call this method directly.
* @param string $id session ID
* @return string the session data
*/
public function readSession($id)
{
$data = $this->redis->executeCommand('GET', [$this->calculateKey($id)]);
return $data === false ? '' : $data;
}`
$data=null时 就不全等于false了,返回的是null
session_start(): Failed to read session data: user (path: )
php7.1里readSession必须返回字符串
The text was updated successfully, but these errors were encountered:
| Yii vesion 2.0.15
| PHP version 7.1
| Operating system centos
redis:4.0.2
`/**
* Session read handler.
* Do not call this method directly.
* @param string $id session ID
* @return string the session data
*/
public function readSession($id)
{
$data = $this->redis->executeCommand('GET', [$this->calculateKey($id)]);
$data=null时 就不全等于false了,返回的是null
session_start(): Failed to read session data: user (path: )
php7.1里readSession必须返回字符串
The text was updated successfully, but these errors were encountered: