Welcome Guest, Not a member yet? Register   Sign In
Why can't database session driver use a persistent connection?
#1

Hi,
Does anyone know why the database session driver will not work if you are using a persistent database connection?

I've looked in the code and this restriction was put in place back in May 2014 in the initial version of v3.

After a bit of digging I found this commit:
https://github.com/bcit-ci/CodeIgniter/issues/3073
which says "Database storage can't be used with a persistent connection (to avoid deadlock and to allow concurrency)"

Is this still relevant in 2018 with the modern databases we're using?
Reply


Messages In This Thread
Why can't database session driver use a persistent connection? - by rich8374 - 01-11-2018, 03:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB