I try to regenerate session id in Javalin like so:...
# javalin
a
I try to regenerate session id in Javalin like so:
Copy code
app.before { ctx ->
        if (ctx.req.session != null) {
            ctx.req.changeSessionId()
        }
    }
But at after 10-15 times refreshing all information of the session is gone. Should this be implemented in another way?