![](/img/trans.png)
[英]Codeigniter loading two different data array from a database with the second one is dependent with the first one and load into a view
[英]Use same codeigniter files session in second codeigniter from the first one which are having different database
我有两个 codeigniter 项目在www.domain.com
和www.domain.com/blog
。 我想使用在 domain.com 中生成的相同会话。 使用第一个的登录。 我尝试为两个 codeigniters 使用相同的 sess_save_path 但不起作用。
选项 1:如果您使用 API 来处理请求。 尝试使用 JSON 网络令牌
选项 2:为两个 Codeigniter 使用本地存储
参考: https : //www.w3schools.com/jsref/prop_win_localstorage.asp
有许多不同的选择。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.