Welcome Guest, Not a member yet? Register   Sign In
Session data removed or overwritten
#5

This conundrum was resolved by the answer to a separate topic (thanks Narf):
http://forum.codeigniter.com/thread-6400...#pid327251

In brief: If you have a db error which results in a rollback then any session data that you set in that context will also be rolled back. The alternative, if you need to set session data, is to use manual transactions so that you can roll back explicitly and then set your session data.
Reply


Messages In This Thread
Session data removed or overwritten - by Shawn - 12-21-2015, 07:01 PM
RE: Session data removed or overwritten - SOLVED - by Shawn - 01-03-2016, 03:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB