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
.
精彩评论