![]() |
[Solved] Codeigniter sessions Question - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [Solved] Codeigniter sessions Question (/showthread.php?tid=69268) |
[Solved] Codeigniter sessions Question - wolfgang1983 - 10-30-2017 Hi, on my live domainĀ for some reason my codeigniter session creates one for www.example.co.nz and one for example.co.nz Why is that it should only create one lot of sessions. Not sure what cause this issue because of the two sessions I can not echo my sessions. PHP Code: $config['sess_driver'] = 'files'; PHP Code: $config['cookie_prefix'] = ''; RE: Codeigniter sessions Question - wolfgang1983 - 10-30-2017 I think I found the solution need to put cookie domain PHP Code: $config['cookie_prefix'] = ''; Seems to work now |