分析代码执行流程:
1、kchmc.net/phpcms/modules/member/index.php
$synlogoutstr = $this->client->ps_member_synlogout();
2、kchmc.net/phpcms/modules/member/classes/client.class.php
修改为如下:
/**
* 同步退出
* @param string $uid
* @return string javascript用户同步退出js
*/
public function ps_member_synlogout() {
//return $this->_ps_send(‘synlogout’, array());
return $this->_ps_send(‘synlogout’, array(‘synlogout’=>1));
}
3、kchmc.net/phpsso_server/phpcms/modules/phpsso/classes/phpsso.class.php
原因在于红框中所标示的缘故:
4、修改后的结果如下:
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/250587.html