protected void Page_Load(object sender, EventArgs e) { if (!(MySQLServer.auth_chech(Request) && MySQLServer.admin_check(Request))) { Response.Redirect("~/", false); } }
protected async void Page_Load(object sender, EventArgs e) { if (!(MySQLServer.auth_chech(Request) && MySQLServer.admin_check(Request))) { Response.Redirect("~/", false); } if (category.Items.Count == 0) { loadMeta(); } }