Session["CustomerLogin"] = "CustomerLogin"; Session["CustomerLogin"] = txtUsername.Text; if(Session["txtRoles"] == "Cust") Response.Redirect("~/home.aspx"); else if(Session["txtRoles"] == "Admin") Response.Redirect("~/homeAdmin.aspx");
if(Session["Name1"]=="value1") { Response.Redirect("Page1.aspx"); } else if(Session["Name2"]=="Value2") { Response.Redirect("Page1.aspx"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)