remove session in dotnet core
You can clear the session by simply calling:
HttpContext.Session.Clear();
Are there any code examples left?
New code examples in category C#
You can clear the session by simply calling:
HttpContext.Session.Clear();