Hi all! I'm using Sessions to set cookies. In most cases I use a specific MaxAge for each cookie, but in some cases I want a session cookie (max age = 0). The determinant of session cookie vs 'long life' cookie, is if the user clicks a 'remember me' button on the front end.
What I'm struggling with in ktor is how can programmatically set the cookie's max age based on the incoming request (so I can see if remember me was clicked)? As far as I can tell, when installing the Session feature there is no ability to access the call/request object?
Thanks!