Welcome Guest, Not a member yet? Register   Sign In
Sessions not saving to database
#1

[eluser]Unknown[/eluser]
I moved my CI project to a new server, and I'm having a strange problem with sessions.

When I set "sess_use_database" to "false", everything works fine. But when I change it to "true", it fails to store any userdata. I even dropped the sessions table and recreated it using the code in the manual.

I can't find any errors in the log file, so I'm at a lost to what the problem is. Does anyone have any suggestions?

I also tested by retrieving a userdata after setting it, and that does work. But it doesn't seem to be persisting to the next request.

Thank you,
Brad




Theme © iAndrew 2016 - Forum software by © MyBB