How to prevent browser back button after logout Aspnet Core
问题 I have an aspnet core web site, with cookie authentication. When I logoff, and then, when I click in the back button of the browser, I navigate to the last web page, and I don´t want that, I wan´t the user to be redirect to the login page to be authenticate again. My startup.cs public void ConfigureServices(IServiceCollection services) { .... services.AddIdentity<ApplicationUser, ApplicationRole>( config => { config.User.RequireUniqueEmail = true; config.SignIn.RequireConfirmedEmail = true;