쿠키는 전체 도메인에 대해 다음과 같이 설정됩니다. 예를 들어 http://subdomain.domain.com에 있었다면 domain.com에 쿠키가있는 경우 subdomain.domain.com에 쿠키가 설정되고 domain.com에 쿠키가 설정됩니다.CodeIgniter 세션 쿠키 도메인
subdomain2.domain.com의 쿠키가 subdomain.domain.com의 쿠키에 액세스 할 수 없다는 의미의 쿠키가 subdomain.domain.com으로 설정된 경우?
/*
|--------------------------------------------------------------------------
| Cookie Related Variables
|--------------------------------------------------------------------------
|
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
|
*/
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
솔기가 제대로 작동하지 않습니다. http://stackoverflow.com/questions/18853783/codigniter-share-session-with-subdomain-sess-time-to-update – Yevgen