protected void BtnLogOut_Click(object sender, EventArgs e) { L_MasterBoardUsr logica = new L_MasterBoardUsr(); DataTable data = (DataTable)Session["Sesion"]; logica.cerrar_session_usuario(data); Session["Sesion"] = null; Response.Redirect("AboutUs.aspx"); }
protected void Salir_Click(object sender, EventArgs e) { L_MasterBoardUsr logica = new L_MasterBoardUsr(); DataTable data = (DataTable)Session["Sesion"]; logica.cerrar_session_usuario(data); Session["Sesion"] = null; Response.Redirect("LoginUsr.aspx"); Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); }