开发者

KO3 Auth module - Subdomains

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜