using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class SEIMaster : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { GestioneStampe gs = new GestioneStampe(); if (gs.datiConfigurazione.isOffline) Response.Redirect("offline.aspx"); } }