Exemple #1
0
        private void Button1_Click(object sender, System.EventArgs e)
        {
            try
            {
                Oper oper = LoginFacade.IsUser(txtLoginID.Text, txtPwd.Text);
//				ArrayList list = Application["GLOBAL_USER_LIST"] as ArrayList;
//				if (list == null)
//  			{
//  				list = new ArrayList();
//  			}
//  			for (int i = 0; i < list.Count; i++)
//  			{
//  				if (txtLoginID.Text == (list[i] as string))
//  				{
//  					//厮将鞠村阻�戻幣危列佚連
//						throw new Exception("緩喘薩厮将鞠村");  
//  				}
//  			}
//  			list.Add(txtLoginID.Text);
//				Application["GLOBAL_USER_LIST"]  = list;
                Session[ConstApp.S_OPER] = oper;
                Response.Redirect("wfmMain.aspx", false);
            }
            catch (Exception ex)
            {
                Popup(ex.Message);
            }
        }