protected void btnVerifyUser_Click(object sender, EventArgs e) { string username = Request.QueryString["uname"].ToString(); UserService.UserService proxy = new UserService.UserService(); bool verify = proxy.UpdateUserVerification(username); if (verify == true) { Response.Redirect("Home.aspx"); Session["Username"] = username; } }