protected void btnProfile_Click(object sender, EventArgs e) { if (Session["EmailId"] != null && Session["Pwd"] != null) { Response.Redirect("Profile.aspx"); } else { Response.Redirect("LogInUser.aspx?ReturnUrl=Profile.aspx"); } } protected void btnEducation_Click(object sender, EventArgs e) { if (Session["EmailId"] != null && Session["Pwd"] != null) { Response.Redirect("Education.aspx"); } else { Response.Redirect("LogInUser.aspx?ReturnUrl=Education.aspx"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)