Prevent session caching

How do I turn off the caching of sessions? Currently using a bunch of auth providers including JWT. Sessions are currently going into redis and I would like to prevent that.

Nevermind, I was able to find a previous post which resolved it using the following:

    public override void OnSaveSession(IRequest httpReq, IAuthSession session, TimeSpan? expiresIn = null)
1 Like