now the project has two domain names under the same framework, one admin.xxxx.com, one api.xxxx.com, the controller corresponds to admin and api controller respectively,
cannot get the shared session
1, add ini_set ("session.cookie_domain", ".xxxx.com")
2
2
3, session.php
Gods, please give me some advice. What you try online won"t work, and you can"t share it.