Esempio n. 1
0
        protected override void OnInit(EventArgs e)
        {
            InitializeComponent();
            base.OnInit(e);
            this.Error += new System.EventHandler(PageBase_Error);

            SingleLogin slogin = new SingleLogin();
            if (slogin.ValidateForceLogin())
            {
                Response.Write("<script defer>window.alert('" + Resources.Site.TooltipForceLogin + "');parent.location='" + defaullogin + "';</script>");
            }

            Actions bllAction = new Actions();
            ActHashtab = bllAction.GetHashListByCache();
        }
Esempio n. 2
0
 protected override void OnInit(EventArgs e)
 {
     this.InitializeComponent();
     base.OnInit(e);
     base.Error += new EventHandler(this.PageBase_Error);
     SingleLogin login = new SingleLogin();
     if (login.ValidateForceLogin())
     {
         base.Response.Write("<script defer>window.alert('" + PageBaseMessageTip.TooltipForceLogin + "');parent.location='" + this.DefaultLoginAdmin + "';</script>");
         base.Response.End();
     }
     ActHashtab = new Actions().GetHashListByCache();
 }