protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (!IsPostBack)
                {
                    canvBiz = new CanvasBizProcess();

                    if (Request.QueryString["fp"] != null && Request.QueryString["fp"].Contains("1"))
                    {
                        if (Request.QueryString["fp"].Contains("1") && Request.QueryString["id"] != null)
                        {
                            // Check if user is using the same link again to reset his password
                            id = HttpUtility.UrlDecode(CommonUtility.Decrypt(Request["id"].ToString()));
                            int fpStatus = canvBiz.ConfirmResetPassword(id.TrimStart(' ').TrimEnd(' '));
                            if (fpStatus == 1)
                            {
                                newFrm.Attributes.Add("style", "display:block");
                                //lblLoginuser.Visible = true;
                                //lblLoginuser.Text = "Reset Your Password by logging with the temporary password sent to your email";
                            }
                            else
                            {
                                newFrm.Attributes.Add("style", "display:none");
                                lblLoginuser.Visible = true;
                                lblLoginuser.Text = "This link is expired.";

                            }

                        }

                        else
                        {
                            newFrm.Attributes.Add("style", "display:none");
                            lblLoginuser.Visible = true;
                            lblLoginuser.Text = "Oops!! Something went wrong....";
                        }
                    }
                    else
                    {
                        newFrm.Attributes.Add("style", "display:none");
                        lblLoginuser.Visible = true;
                        lblLoginuser.Text = "Oops!! Something went wrong....";
                    }

                }
            }
            catch (Exception ex)
            {
                CommonUtility objCommon = new CommonUtility();
                objCommon.SendErrorMail(ex.Message, ex.StackTrace, System.Reflection.MethodBase.GetCurrentMethod().Name.ToString(), System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.ToString(), SessionData.Customer.CustomerID);
            }
        }