Avoid to display previous page after logout
How Avoid to display previous page after logout in asp.net application ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pankaj PandeyRank #642 · 3.7K reputationPosted May 17, 2013, 5:40 AM EDT
hiiii
On login page...when userid and password is correct..then before redirect to next page write this code...
thanks & Regards
Pankaj PandeyRank #642 · 3.7K reputationPosted May 17, 2013, 6:01 AM EDT
http://www.c-sharpcorner.com/Blogs/11706/user-management-with-help-of-session-in-three-steps.aspx
Prafulla Choudhary123 reputationPosted May 17, 2013, 6:33 AM EDT
i am already check Session["UserId"]==Null on each Page. But its not solution in my question .
My question is when user logOut in my application then session expired for that user but if any one click browser navigation back button then Previous page display(which page user visited last time and then click LogOut).