Why can't database session driver use a persistent connection? |
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? |
Messages In This Thread |
Why can't database session driver use a persistent connection? - by rich8374 - 01-11-2018, 03:29 AM
RE: Why can't database session driver use a persistent connection? - by InsiteFX - 01-11-2018, 09:35 AM
RE: Why can't database session driver use a persistent connection? - by rich8374 - 01-12-2018, 01:45 AM
RE: Why can't database session driver use a persistent connection? - by Narf - 01-12-2018, 05:16 AM
RE: Why can't database session driver use a persistent connection? - by InsiteFX - 01-12-2018, 04:11 AM
|