public virtual IAuthSession OnSessionFilter(IAuthSession session, string withSessionId)
{
if (session == null || !SessionFeature.VerifyCachedSessionId)
return session;
if (session.Id == withSessionId)
return session;
if (Log.IsDebugEnabled)
{
Log.Debug($"ignoring cached sessionId '{session.Id}' which is different to request '{withSessionId}'");
}
return null;
}