Hapus Sesi di Dotnet Core

You can clear the session by simply calling:
HttpContext.Session.Clear();
Badie96