示例#1
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            string setup = new AppEnv(Context).GetAppSetting("setup");

            if (setup.Equals("true"))
            {
                Response.Redirect("Administration/admin.aspx");
            }
            else
            {
                Response.Redirect("Setup/setup.aspx");
            }
        }
示例#2
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            string ready = new AppEnv(Context).GetAppSetting("ready");

            if (ready.Equals("true"))
            {
                if (Request.IsAuthenticated)
                {
                    Response.Redirect("CDA/Protected/myHomePg.aspx");
                }
                else
                {
                    Response.Redirect("CDA/HomePg.aspx");
                }
            }
        }