I'm trying to set a cookie to expire in 30mins but...
# ktor
r
I'm trying to set a cookie to expire in 30mins but when I look at the exp date is actually due to expire 30 mins past, I've looked at
io.ktor.sessions
and the duration is being set with
duration = Duration.ofDays(7)
so i've changed my cookie to use
duration = Duration.ofMinutes(30)