In my website when the user clicks on the “Logout” button, the Logout.aspx page loads with code Session.Clear().
In ASP.NET/C#, does this clear all cookies? Or is there any other code that needs to be added to remove all of the cookies of my website?
Try something like that:
But it also makes sense to use
besides in many scenarios.