protected void Page_Load(object sender, EventArgs e) { clsConexiones obj = new clsConexiones(); if (Session["rolUsu"].ToString() == "CLIENTE") { obj.BajaCarrito(Application["cnn"].ToString(), int.Parse(Session["cveUsu"].ToString()), '0'); } else { obj.BajaCarrito(Application["cnn"].ToString(), int.Parse(Session["cveUsu"].ToString()), '1'); } Response.Write("<script language='javascript'>document.location.href='dflInicio.aspx'</script>"); }