protected void btnCancelar_Click(object sender, ImageClickEventArgs e) { _seguridad = null; txtContrasenia.Text = string.Empty; txtUserName.Text = string.Empty; lblMensajeInicio.Text = string.Empty; }
protected void btnAceptar_Click(object sender, ImageClickEventArgs e) { Session["Conexion"] = ddlConexiones.SelectedValue.ToString(); _seguridad = new SigametLiquidacion.Seguridad(22, txtUserName.Text, txtContrasenia.Text); if (!_seguridad.SesionIniciada) { lblMensajeInicio.Text = _seguridad.MensajeAcceso; return; } Session["Iniciada"] = _seguridad.SesionIniciada; Session["Privilegios"] = _seguridad; Session["Usuario"] = txtUserName.Text; //Response.Redirect("selFolio.aspx"); Response.Redirect("SeleccionRutaLiquidacionDina.aspx"); }