protected void btnLogout_Click(object sender, EventArgs e)
{
try
{
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
Response.Cookies.Clear();
Session.Abandon();
//HttpContext.Current.Session["ownerpanel"] = null;
//HttpContext.Current.Session.Abandon();
FormsAuthentication.SignOut();
FormsAuthentication.RedirectToLoginPage();
}
catch { }
}