开发者

multiple php sessions - get variable from other session [duplicate]

开发者 https://www.devze.com 2023-02-26 09:27 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: Multiple PHP Sessions hi, i have a website that is managed by 开发者_如何学JAVAtwo CMSs (same host,same d
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Multiple PHP Sessions

hi, i have a website that is managed by 开发者_如何学JAVAtwo CMSs (same host,same domain). Is there a way to retrieve the $_SESSION variable from CMS1 in CMS2? in short, i am trying to synchronise logins, but already failed in passing the variables :) cheers, mario


Write to a file and then read the data from the file both different CMS running on different memory and having separate sessions can achieve this through a common database table access or file IO. I won't mind adding a value in a Cookie too.

0

精彩评论

暂无评论...
验证码 换一张
取 消