Question about integrating echop and discuzx? There is a problem after integration. 1) I found that the user logging on to discuz can also log on to ecshop, but what? The opposite is not true. users logging on to ecshop are not logged on to discuz. 2) log out of discuz, and withdraw from ecshop. However, if you quit from ecshop, discuz is still online... ... ------ Solution --- about integrating echop and discuz x?
Problems After integration,
1) users logging on to discuz can also log on to ecshop, but what? The opposite is not true. users logging on to ecshop are not logged on to discuz.
2) log out of discuz, and withdraw from ecshop. However, if you quit from ecshop, discuz is still online...
...
------ Solution --------------------
Check one by one? After discuz logs on to ecshop, what changes (variables) are generated. in turn, ecshop logs on to discuz and does not respond to any changes.
------ Solution --------------------
A strange problem I encountered before was session_start, which was then written with a value, which could not be found on other pages.
Later, fiddler captured the packet and found that the cookies submitted by www.xxx.com and xxx.com were different. after the problem was found, it was called before session_start:
Session_set_cookie_params sets ".xxx.com" for the domain. of course, you need to clear the original cookie and try again.