![]() |
Session class is not setting the ci_session cookie in webkit browsers - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Session class is not setting the ci_session cookie in webkit browsers (/showthread.php?tid=41635) |
Session class is not setting the ci_session cookie in webkit browsers - El Forum - 05-12-2011 [eluser]ammonkc[/eluser] I have a site using CI 1.7.3. The session class is not setting the ci_session cookie at all. But this only happens in webkit based browsers (Safari/Chrome), the session is properly set in FireFox. I'm using Ion_auth library for authentication. But Ion_auth just uses the built-in codeigniter session class. The only cookies that get saved are ones that are set with the set_cookie() helper. Is this a bug in the session class? Session class is not setting the ci_session cookie in webkit browsers - El Forum - 05-13-2011 [eluser]WanWizard[/eluser] Make sure the session config is correct: - remove the underscore from the cookie name - cookie path and cookie domain must be correct (no localhost!) - make sure the time on the server is correct Session class is not setting the ci_session cookie in webkit browsers - El Forum - 05-13-2011 [eluser]ammonkc[/eluser] Thanks! it turns out the system time on the server was wrong. I didn't even think to check that. Thanks! |