简体   繁体   中英

How to access codeigniter session using standard PHP $_SESSION?

I have a CI-based application that works as a portal to other apps in the same server(cookie domain). But my other apps are not CI-based, can I access the CI-based SESSION using $_SESSION in the other app?

My problem is kinda similar to this link. but mine is just inverted.

How to access standard PHP session data from inside CodeIgniter

There is already an implement library of PHP $_SESSION in github, maybe it will be helpful.

Native PHP Session for Codeigniter

I have already used it in my project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM