Use of sessions is very
import important while designing any website.
Here is the code:
protected void btnlogout_Click(object sender, ImageClickEventArgs e)
{
Session.Abandon();
Session.Contents.RemoveAll();
System.Web.Security.FormsAuthentication.SignOut();
Response.Redirect("../Login.aspx");
}
Javascript:
<script language=""javascript"" type=""text/javascript"><br" mode="hold" />history.forward();
</script>