Can You Switch PHP Sessions In a Session?

前端 未结 7 1760
情深已故
情深已故 2020-12-09 19:31

I have two apps that I\'m trying to unify. One was written by me and another is a CMS I am using. My authentication happens in the one I coded and I\'d like my CMS to know t

7条回答
  •  隐瞒了意图╮
    2020-12-09 20:11

    You should use session_id, you can use it to set / get the session id (or name).

    So instead of using session_name (in your pseudo code), use session_id.

提交回复
热议问题