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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prafulla ChoudharyPosted May 17, 2013, 10:33 AM
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).
Pankaj PandeyPosted May 17, 2013, 10:01 AM
http://www.c-sharpcorner.com/Blogs/11706/user-management-with-help-of-session-in-three-steps.aspx
Pankaj PandeyPosted May 17, 2013, 9:40 AM
hiiii
On login page...when userid and password is correct..then before redirect to next page write this code...
thanks & Regards