Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kohana KO3身份验证模块-子域_Kohana_Subdomain_Authentication - Fatal编程技术网

Kohana KO3身份验证模块-子域

Kohana KO3身份验证模块-子域,kohana,subdomain,authentication,Kohana,Subdomain,Authentication,我使用身份验证模块,但它仅适用于我正在登录的子域。。例如,我的登录页面位于www.domain.tld,登录后,总是有登录的用户。但是在子域.domain.tld上没有。我将Kohana_Cookie中的属性域更改为.domain.tld,但未生效 您能帮助我吗?尝试添加ini\u集('session.cookie\u domain','.domain.tld')到bootstrap.php尝试添加ini\u集('session.cookie\u domain','.domain.tld')to

我使用身份验证模块,但它仅适用于我正在登录的子域。。例如,我的登录页面位于www.domain.tld,登录后,总是有登录的用户。但是在子域.domain.tld上没有。我将Kohana_Cookie中的属性域更改为.domain.tld,但未生效


您能帮助我吗?

尝试添加
ini\u集('session.cookie\u domain','.domain.tld')
bootstrap.php

尝试添加
ini\u集('session.cookie\u domain','.domain.tld')
to
bootstrap.php

您的子域是否使用不同的目录存储会话数据?您的子域是否使用不同的目录存储会话数据?