示例#1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        string HedefSayfa = MM.kullanici(99);

        //if (!string.IsNullOrEmpty((string)Session["giris"]))
        //{
        //    Response.Redirect("debt.aspx");
        //}

        if (HedefSayfa != PageId.ToString())
        {
            Response.Redirect(MM.SayfayaGit(HedefSayfa));
        }
        if (!Page.IsPostBack)
        {
            token();

            InitEDWUser();
            ClearPage();
            if (MM.CUST > 100)
            {
                AktifMusteriVar(MM.CUST.ToString());
            }
            else
            {
                ManuelArama();
            }
        }
    }
示例#2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //token();
        string HedefSayfa = MM.kullanici(99);

        //if (!string.IsNullOrEmpty((string)Session["giris"]))
        //{
        //    Response.Redirect("debt.aspx");
        //}
        if (!MM.Online)
        {
            lbl1.Text = "Lütfen Giriş Yapınız!";
        }
        if (HedefSayfa != PageId.ToString())
        {
            Response.Redirect(MM.SayfayaGit(HedefSayfa));
        }
    }