Exemple #1
0
        protected void button5_ServerClick(object sender, EventArgs e)
        {
            ValidPrev2();

            BLL.Member member   = new BLL.Member();
            string     userName = Session["getpwduser"].ToString();
            int        iRows    = member.ModifyPassword(userName, /*hidPwd.Value.Trim()*/ txtPass.Text.Trim());

            if (iRows > 0)
            {
                UiCommon.UserLoginInfo.SetInfo(member.GetUserID(userName), userName);

                Session["getpwduser"]   = null;
                Session["getpwdanswer"] = null;

                Response.Redirect("/Manage/Default.aspx");
            }
            else
            {
                lblMsg.Text = "抱歉,新密码设置失败,请与我们的客服人员或网站管理员反映此问题!";
            }
        }
Exemple #2
0
        protected void button5_ServerClick(object sender, EventArgs e)
        {
            ValidPrev2();

            BLL.Member member = new BLL.Member();
            string userName = Session["getpwduser"].ToString();
            int iRows = member.ModifyPassword(userName, /*hidPwd.Value.Trim()*/ txtPass.Text.Trim());
            if (iRows > 0)
            {
                UiCommon.UserLoginInfo.SetInfo(member.GetUserID(userName), userName);

                Session["getpwduser"] = null;
                Session["getpwdanswer"] = null;

                Response.Redirect("/Manage/Default.aspx");
            }
            else
            {
                lblMsg.Text = "��Ǹ������������ʧ�ܣ��������ǵĿͷ���Ա����վ����Ա��ӳ�����⣡";
            }
        }