The ktor session documentation talks about using t...
# ktor
c
The ktor session documentation talks about using this syntax:
Copy code
call.sessions.set(login.id)
But in the latest version set takes two parameters:
Copy code
call.sessions.set(login.id, secondParameter)
The second seems to store session data in key/value pairs. How does this interact with
call.sessions.get<User>()
- which key/value pair is chosen?