uc_user_synlogout – Eternal Night https://www.shuijingwanwq.com There is no problem not worth solving, and no technology not worth learning! Sun, 07 Jun 2026 14:44:40 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 Integrate PHPCMS and TiPask under ucenter, and find that logging in through phpcms can be synchronized to tipask, but quit through phpcms, it cannot be synchronized to the solution of tipask! https://www.shuijingwanwq.com/en/2014/11/11/16490/ https://www.shuijingwanwq.com/en/2014/11/11/16490/#respond Tue, 11 Nov 2014 06:52:38 +0000 https://www.shuijingwanwq.com/?p=16490 浏览量: 1
在phpcms中登录提示登录成功,查看源代码,可以看见已经发现同步js通知

In phpcms, the login prompts to log in successfully, check the source code, you can see that the synchronization js notification has been found

在phpcms中退出提示退出成功0,查看源代码,可以看见同步js通知代码为0

In phpcms, the exit prompt is successful 0, check the source code, you can see that the synchronization js notification code is 0

Analyze the code execution process:

1. kchmc.net/phpcms/modules/member/index.php

$SynLogoutstr = $this->client-> ps_member_synlogout();

2. kchmc.net/phpcms/modules/member/classes/client.class.php

Modified to be as follows:

/**
* Synchronized exit
* @param string $UID
* @return string javascript user sync exit 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

The reason is what is indicated in the red box:

如果$this->data为空,则返回0

If $this->data is empty, return 0

4. The revised result is as follows:

在phpcms中退出提示退出成功,查看源代码,可以看见已经发现同步js通知

Quitting in phpcms prompts the exit successfully, check the source code, you can see that the synchronization js notification has been found

]]>
https://www.shuijingwanwq.com/en/2014/11/11/16490/feed/ 0