RedisSessionProvider icon indicating copy to clipboard operation
RedisSessionProvider copied to clipboard

Resolved issue serializing deleted keys to the server after call to Clear()

Open devmonkey22 opened this issue 8 years ago • 1 comments

Regardless of if SerializedRawData found and removed the key, mark the key as deleted to handle when Clear() is called, which clears all SerializedRawData immediately, so then keys never really get deleted at the server.

devmonkey22 avatar Aug 30 '16 18:08 devmonkey22

@welegan Can you confirm if this satisfies your intent between the logic in RedisSessionStateItemCollection.Clear() which also clears the SerializedRawData collection too; and the RedisSessionStateItemCollection.GetChangedObjectsEnumerator() called during RedisSessionStateStoreProvider.SerializeToRedis ?

devmonkey22 avatar Aug 30 '16 18:08 devmonkey22