Redis AWS Elasticache Session Issue? |
While utilizing Redis session handling with AWS Elasticache over TLS, I've encountered a peculiar issue. When not using session_write_close() appropriately in my AJAX-heavy application, sessions get locked correctly, but after 30 failed attempts, it appears to clear the session data entirely, resulting in unintended user logouts across multiple tabs. Is this the expected behavior, and should it be? I anticipated the lock to fail while preserving session data, rather than overwriting it with an empty value. Is there something I may be overlooking in this scenario?
If reading the session data from Redis fails, the Session data is lost.
This behavior is not good.
This bug has been fixed in v4.4.6. Please upgrade!
|
Welcome Guest, Not a member yet? Register Sign In |