解决办法: 打开include/userlogin.class.php 找到 function exitUser() { ClearMyAddon(); @session_unregister($this->keepUserIDTag); @session_unregister($this->keepUserTypeTag); @session_unregister($this->keepUserChannelTag); @session_unregister($this->keepUserNameTag); @session_unregister($this->keepUserPurviewTag); DropCookie('dedeAdmindir'); DropCookie('DedeUserID'); DropCookie('DedeLoginTime'); $_SESSION = array(); } 替换为: function exitUser() { ClearMyAddon(); #@session_unregister($this->keepUserIDTag); $_SESSION[$this->keepUserIDTag] = $this->userID; #@session_unregister($this->keepUserTypeTag); $_SESSION[$this->keepUserTypeTag] = $this->userType; #@session_unregister($this->keepUserChannelTag); $_SESSION[$this->keepUserChannelTag] = $this->userChannel; #@session_unregister($this->keepUserNameTag); $_SESSION[$this->keepUserNameTag] = $this->userName; #@session_unregister($this->keepUserPurviewTag); $_SESSION[$this->keepUserPurviewTag] = $this->userPurview; DropCookie('dedeAdmindir'); DropCookie('DedeUserID'); DropCookie('DedeLoginTime'); $_SESSION = array(); } 声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。