Hi Guys
i working on mvc project and my current requirement is "if user login the website and somewhere
user click back button of browser then login page will not display ,only home page will display
until unless user click logout then login page will come .
and again user click back button then previous page will not come once user logout its auto redirect to login page
please help me regarding this

Ahmed AbdiRank #1,099 · 1.7K reputationPosted Feb 5, 2020, 3:57 AM EST
Salman BegRank #284 · 8.8K reputationPosted Feb 5, 2020, 3:58 AM EST
Joginder BangerRank #360 · 7K reputationPosted Feb 6, 2020, 6:52 PM EST
Posted Feb 10, 2020, 11:37 PM EST
Hi Ahmed Abdi,