using AppData; using SteamWare; using System; namespace C_TRACK.WebUserControls { public partial class mod_checkOpr : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { // verifico di avere CodOpr in sessione... if (mUtils.CodOpr == "") { // mostro warning.. divWarning.Visible = true; // se NON sono in pagina bcode --> rimando a richiesta dichiarazione operatore (con BARCODE) if (devicesAuthProxy.pagCorrente != "barcode") { Response.Redirect("~/barcode"); } } else { divWarning.Visible = false; } } } }