Welcome Guest, Not a member yet? Register   Sign In
Session: performance lock problem
#3

FYI, putting session_write_close() at the very end of script execution is useless - CI will do that on its own at that point.

If you do use it, it has to be at a point where you no longer need to read/write new session data, but more code is to be executed - thus, the lock is freed as soon as necessary while the rest of your code still executes.
Reply


Messages In This Thread
Session: performance lock problem - by alexhava - 03-16-2018, 11:56 AM
RE: Session: performance lock problem - by Narf - 03-19-2018, 08:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB