开发者

KO3 Auth module - Subdomains

开发者 https://www.devze.com 2023-03-19 03:59 出处:网络
I use Auth m开发者_运维知识库odule, but it works only for a subdomain, where I am logging in.. For example, my login page is on www.domain.tld, and after login, there is always logged user. But on sub

I use Auth m开发者_运维知识库odule, but it works only for a subdomain, where I am logging in.. For example, my login page is on www.domain.tld, and after login, there is always logged user. But on subdomain.domain.tld, there is not. I changed property domain in Kohana_Cookie to .domain.tld, but without effect..

Could you help me?


Try adding ini_set('session.cookie_domain', '.domain.tld'); to bootstrap.php.

0

精彩评论

暂无评论...
验证码 换一张
取 消