protected void Page_Load(object sender, EventArgs e) { try { Controller_Conexion cCon = new Controller_Conexion(); cCon.CerrarConexion(Session["Usuario"].ToString()); Session.RemoveAll(); Response.Redirect("/View/Login.aspx"); } catch { Response.Redirect("/View/Login.aspx"); } }