Get data from cookie on subdomain with Codeigniter |
I already checked couple threads here but I was not able fix my problem.
I have 2 apps:
Code: session_set_cookie_params( $currentCookieParams["lifetime"], $currentCookieParams["path"], $rootDomain, // $rootDomain = ".mydomain.com" $currentCookieParams["secure"], $currentCookieParams["httponly"] );
Code: $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'cookie_name'; $config['sess_expiration'] = 7200; $config['sess_save_path'] = NULL; $config['sess_match_ip'] = FALSE; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = FALSE; $config['cookie_prefix'] = ''; $config['cookie_domain'] = '.mydomain.com'; $config['cookie_path'] = '/'; $config['cookie_secure'] = FALSE; $config['cookie_httponly'] = FALSE; Code: cookie_name Code: cookie_name Problem is I am not able to get this data on subdomain with Codeigniter (using Code: $_SESSION Code: $this->session->userdata(); Code: [__ci_last_regenerate] I created sample file on sub.mydomain.com/test.php where I am able to get data from session using php without codeigniter => so data are available there...But I need to get them with Codeigniter. Any ideas? |
Messages In This Thread |
Get data from cookie on subdomain with Codeigniter - by Hamer01 - 07-11-2017, 08:18 AM
RE: Get data from cookie on subdomain with Codeigniter - by Martin7483 - 07-12-2017, 01:19 AM
RE: Get data from cookie on subdomain with Codeigniter - by Hamer01 - 07-20-2017, 01:39 PM
RE: Get data from cookie on subdomain with Codeigniter - by Martin7483 - 07-21-2017, 12:48 AM
RE: Get data from cookie on subdomain with Codeigniter - by rtenny - 07-26-2017, 07:27 AM
|