Does ktor clear out cookies that can not be deseri...
# ktor
e
Does ktor clear out cookies that can not be deserialized? Suppose there was a schema change.
a
Can you describe the problem in more detail? Is your question about the client or the server? Do you have a specific Ktor plugin in mind?
e
The server. I am asking how to deal with schema evolution by invalidating obsolete cookies. My cookie class has a serializer which can detect validity, but what then? If it throws an exception, does ktor clear it out?
a
No, Ktor doesn't remove session values that cannot be deserialized.
👍 1