I need to assign a new session Id as part of the login request on asp net core 2.2, this is required to prevent session hijacking.
The session.clear method leaves the cookie intact, and I can remove the session cookie using for example
Response.Cookies.Delete("ASP.NET_SessionId");
But this prevents the login from working, old asp net used to have a session abandon but I cant see an equivalent.
Any help appreciated. Thanks