CI 3 using native sessions instead of driver |
(12-12-2019, 09:00 AM)dave friend Wrote:(12-12-2019, 08:35 AM)blasto333 Wrote: phpredis extension has much finer grain control with locking; so it should perform just as good as mysql GET_LOCK without database load. You can do the following. (microseconds instead of 1 second). I know it uses native session and has custom handlers; but I still want to be able to use methods such as set_userdata which is why I create MY_Session.php and removed the linking of session handling to drivers. Then I can enable phpredis session extension in php.ini I don't want to remove the lock just make it not lock as long as php CI redis driver does (1 second for 30 tries). I am asking if what I did in MY_Session.php seems sufficient. |
Messages In This Thread |
CI 3 using native sessions instead of driver - by blasto333 - 12-11-2019, 07:39 PM
RE: CI 3 using native sessions instead of driver - by dave friend - 12-12-2019, 08:32 AM
RE: CI 3 using native sessions instead of driver - by blasto333 - 12-12-2019, 08:35 AM
RE: CI 3 using native sessions instead of driver - by dave friend - 12-12-2019, 09:00 AM
RE: CI 3 using native sessions instead of driver - by blasto333 - 12-12-2019, 09:02 AM
RE: CI 3 using native sessions instead of driver - by dave friend - 12-14-2019, 09:46 AM
RE: CI 3 using native sessions instead of driver - by blasto333 - 12-14-2019, 10:03 AM
|