时间:2021-07-01 10:21:17 帮助过:19人阅读
$_SESSION['active_code']['id']=$user_id; $_SESSION['active_code']['name']=$user['user_name']; $_SESSION['active_code']['email']=$user['email'];
你是怎么打印的?
$_SESSION['test']='testvv'; $_SESSION['test']['11']='11testvv'; $_SESSION['active_code']['id']=$user_id; $_SESSION['active_code']['name']=$user['user_name']; $_SESSION['active_code']['email']=$user['email']; $_SESSION['active_code']['key']=$this->md5s($user['email'].$user['passwd']); $this->logs(var_export($_SESSION['active_code'],true)); $this->logs(var_export($_SESSION,true));
不知道你的 logs 方法里面做了什么
你直接 var_export($_SESSION['active_code']); 看看
问题解决,删除session目录中所有文件后解决。