5
Answers

How to solve Redirect Loop in c# .net

if (!IsPostBack)
{
if (Session["UserName"] != null && Session["UserName"] != "")
{
Label1.Text = "Hello - " + Session["UserName"].ToString();
Label1.ForeColor = System.Drawing.Color.White;
Response.Redirect("WholesaleOrder.aspx");
}
Answers (5)