https://kotlinlang.org logo
#ktor
Title
# ktor
o

orangy

01/05/2019, 3:26 PM
We would be happy to fix it, if you have any idea
m

miha-x64

01/05/2019, 3:54 PM
Copy code
val userSession = installSessionFor<User>("SESSION_USER")
...
routing {
    get(...) {
        val user = call.session[userSession]
    }
}
3 Views