I'm currently using ktor 3.0.2 and I am unable to ...
# ktor
k
I'm currently using ktor 3.0.2 and I am unable to rotate session id. Eg: anon session turns into authenticated session.
Copy code
call.sessions.clear<UserSession>()
call.sessions.set(UserSession(...))
Any suggestions what should I try next?
1
Response does include "set-cookie" header, but it is with the same session id