Open chrylis opened 9 years ago
I think this is the same problem that is bugging me and others (see #320 for example). It should be solvable by #283, although you need to come up with a serializer on your own.
@pcornelissen Spring Data Redis provides Jackson2JsonRedisSerializer
. Does that help?
I'm running into issues where new class versions are changing
serialVersionUID
s and throwing deserialization exceptions when a user with an existing session holding serialized data from an old class version tries to view a page. Are there any particular recommendations or best practices on how to handle incompatible serialization versions with Spring Session? Is there any manageable way to handle this in a Web application, such as at least saying "there was a problem" and explicitly expiring the session so the user can log back in?