protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { AuthenticationBusiness bll = new AuthenticationBusiness(); if (!bll.IsPasswordResetLinkValid(Request.QueryString["uid"])) { lblMessage.ForeColor = System.Drawing.Color.Red; lblMessage.Text = "Password Reset link has expired or is invalid"; } } }