Losing session while using redis Driver |
Yeah session_write_close() is needed and already implemented.
However, while the 3.1.6 patch is correctly using the "SET resource-name anystring NX EX max-lock-time" from Redis home page https://redis.io/commands/set I'd say that the code is wrong. It is wrong because from 3.1.6, no retries are being made but instead there is a return FALSE after the failed call to $this->_redis->set() shouldn't that be a continue? PHP Code: $attempt = 0; |
Messages In This Thread |
Losing session while using redis Driver - by gmedel - 10-12-2018, 08:48 AM
RE: Losing session while using redis Driver - by tgix - 10-16-2018, 03:31 AM
RE: Losing session while using redis Driver - by gmedel - 10-18-2018, 06:58 AM
RE: Losing session while using redis Driver - by InsiteFX - 10-16-2018, 04:43 AM
RE: Losing session while using redis Driver - by gmedel - 10-18-2018, 06:56 AM
RE: Losing session while using redis Driver - by tgix - 10-16-2018, 05:02 AM
|