I have run into this issue: https://youtrack.jetbrains.com/issue/KTOR-5760
Isn't it a security problem that the server depends entirely on the client regarding session validity?
Thanks.
e
ephemient
06/11/2024, 7:55 PM
cookie expiry is a client-side feature only, the server has no idea what the cookie expiry is beyond setting its initial value (it never gets re-transmitted). that's just how cookies work
🙏 1
ephemient
06/11/2024, 7:55 PM
so yes, that does mean if you want server-controlled session expiration then you can't (only) use cookie expiration