Hi,
In MVC application, after log out, when I click the browser back button it's going to the previous page. But I need when I click the browser back button, it should redirect to the login page
in BaseController I added this line
[OutputCache(NoStore = true, Duration = 0, VaryByParam = "*")]
using this code, after I logged out and click the back button, it will redirect to the error page
Thanks,

Rajeesh MenothRank #118 · 18.4K reputationPosted Jun 8, 2016, 8:49 AM EDT
neel k143 reputationPosted Jun 8, 2016, 9:19 AM EDT