Welcome Guest, Not a member yet? Register   Sign In
Redis AWS Elasticache Session Issue?
#1

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?
Reply
#2

(This post was last modified: 02-21-2024, 04:10 AM by kenjis.)

If reading the session data from Redis fails, the Session data is lost.
This behavior is not good.
Reply
#3

Try this: https://github.com/codeigniter4/CodeIgniter4/pull/8323
Reply
#4

This bug has been fixed in v4.4.6. Please upgrade!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB