Any way to read sessionId from the controller? `c...
# ktor
y
Any way to read sessionId from the controller?
call.sessions.set
is setting the UserPrincipal but is there a way to read the session id from the controller?
a
Do you mean the ID that Ktor manages internally?
y
yes the ID that it maintains internally and writes to cookie
a
Unfortunately, there is no way read that ID.
1