After changeSessionId
, expirationStore(ordered set) lost the new sessionId
#3363
Labels
changeSessionId
, expirationStore(ordered set) lost the new sessionId
#3363
Describe the bug
After
changeSessionId
, expirationStore(ordered set) lost the new sessionIdTo Reproduce
SortedSetRedisSessionExpirationStore
for expirationStoreexpiration
kv of redis that the new sessionId does not existExpected behavior
The old sessionId should be deleted and the new sessionId should be appended to the sorted set of redis
Source
spring-session/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisIndexedSessionRepository.java
Line 994 in 2353d8b
How to fix
We can add a rename method to the
RedisSessionExpirationStore
interfaceThe text was updated successfully, but these errors were encountered: