Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //Public/Signin.aspx?ReturnUrl=%2f



            if (!IsPostBack)
            {
                if (!string.IsNullOrWhiteSpace(Request.QueryString["email"]))
                {
                    //_objUserDtl=new UserDetail();
                    //_objUserDtl.Email = Request.QueryString["email"];
                    bool isVerified = _objUserBiz.IsUserVerified(Request.QueryString["email"]);
                    if (!isVerified)
                    {
                        int result = _objUserBiz.ActiveUserByEmail(Request.QueryString["email"]);
                        if (result != 0)
                        {
                            ltrlConfirmation.Text =
                                "<span style=\"color:green; font-size:11pt; font-weight:bold \"> Welcome to AMS! Your account has been activated. </span>";
                        }
                    }
                    else
                    {
                        ltrlConfirmation.Text =
                            "<span style=\"color:green; font-size:11pt; font-weight:bold \">  Your are already an Active user. Thanks.. </span>";
                    }
                }
            }
        }