protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { PublicApi.fnReadLoginCookie(this.Context); if (Session["id"] == null || Session["id"].ToString().Length == 0) { Response.Redirect("Login.aspx"); } } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { PublicApi.fnReadLoginCookie(this.Context); if (Session["id"] == null || Session["id"].ToString().Length == 0) { Response.Redirect("Login.aspx"); } } }