Home  >  Article  >  Backend Development  >  关于整合echop和discuz x的有关问题

关于整合echop和discuz x的有关问题

WBOY
WBOYOriginal
2016-06-13 13:28:33874browse

关于整合echop和discuz x的问题?

整合后有问题,
1)发现在discuz登录的用户,可以在ecshop那边也显示登录了,但是呢?反过来不行,即在ecshop登录的用户,在discuz那边还是非登录的。
2)在discuz退出,ecshop那边也退出了,但是,在ecshop那边退出了,discuz还是在线的。。。
求解决。。。

------解决方案--------------------
一个一个检查呗?discuz 登录了 ecshop有什么更改(变量) 反过来也一样就是ecshop登录了 discuz 没有响应的更改呗
------解决方案--------------------
之前我遇到的一个怪异问题就是session_start然后写了一个值,其他页面访问发现得不到。

后来fiddler抓包,发现:www.xxx.com和xxx.com这两个域名提交的cookie不同,发现问题后在session_start之前都调用了:
session_set_cookie_params将domain设置了".xxx.com",当然还要清理一下原先的cookie再重新测试一下。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn