using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using CY.Infrastructure.Configuration; using System.Web.UI.HtmlControls; using CY.Infrastructure.Logging; using LIMS.MessageBox; using System.Text; using CY.Model; using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling; using System.Web.UI.WebControls; using CY.BLL; using CY.Infrastructure.Common; using CY.Model.Inquiry; namespace CY.WebForm { /// /// 后台系统基础页面类 /// public class BasePage : MainPage { public BasePage() { Load += new EventHandler(BasePage_Load); } public void BasePage_Load(object sender, EventArgs e) { if (CurrentUser == null) { string js = ""; js = "window.parent.parent.parent.parent.location.href='/login.html'"; Response.Write(""); Response.End(); } } } }