Welcome Guest, Not a member yet? Register   Sign In
Session class is not setting the ci_session cookie in webkit browsers
#1

[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?
#2

[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
#3

[eluser]ammonkc[/eluser]
Thanks! it turns out the system time on the server was wrong. I didn't even think to check that. Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB