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
Logout problem
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Gaurav Sharma141 reputationPosted Jan 28, 2013, 12:17 AM EST
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("");
}