I have a netcore mvc project that gives an iframe to external sites.But session is lost when using iframe on other sites.
services.AddSession(opt=> {