Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个指向一个应用程序的网址,例如
api.mysite.com & alias.mysite.com
即使我设置了 config: $config['cookie_domain'] = ".mysite.com";
会话未结转。我正在使用 alias.mysite.com,如果在处理后重定向查看者而不是让他们看到 api.mysite.com 时,他们会通过地址栏看到 url
感谢任何帮助或想法。
非常感谢。
我相信你可以在这里找到你的答案:
http://ellislab.com/forums/viewthread/57101/
子域覆盖 CodeIgniter 会话
在 PHP 中的子域共享会话