i have create a user profile and when the user click on logout button user properly logout but when he click ok browser back button the session not expired .
please provide me solution of this problem
thanks
Loading
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.
Gaurav SharmaPosted Jan 28, 2013, 5:17 AM
On the click event of log out button add the following:
protected void LogOut()
{
Session.Abandon();
string nextpage = "Your log out page.aspx";
Response.Write("");
}