I would like my session cookie to expire after 30 ...
# ktor
n
I would like my session cookie to expire after 30 minutes so I set a
maxAge
value for the cookie. But I also want to "reset" the cookie from expirying in case of specific calls. How can I achieve that? Thanks.
e
update the session, which will overwrite the cookie
🙏 1
n
Hm, thanks. I will check out whether if I write the same value to the session, the cookie is really updated, and the session data itself is not written to the session storage (because it would result in a performance problem, especially if the cookie storage is not file-based).
a
Unfortunately, the session cookie is sent only when the storage is updated.
😢 1
🙏 1