protected void Page_Load(object sender, EventArgs e) { if (!(Page.IsPostBack)) { Session["transID"] = null; Session["amt"] = null; Session["agt"] = null; Session["xgt"] = null; Session["applicantname"] = null; Session["applicantemail"] = null; Session["applicantpnumber"] = null; Session["agentname"] = null; Session["agentemail"] = null; Session["agentpnumber"] = null; Session["product_title"] = null; Session["item_code"] = null; Session["xapplication"] = null; Session["pwalletID"] = null; Session["log_staffID"] = null; Session["xapplication"] = null; Session["log_staffID"] = log_staffID; serverpath = Server.MapPath("~/"); transID = Request.Params["transID"]; amt = Request.Params["amt"]; agt = Request.Params["agt"]; xgt = Request.Params["xgt"]; item_code = Request.Params["item_code"]; hwalletID = Request.Params["hwalletID"]; fee_detailsID = Request.Params["fee_detailsID"]; if ((Request.Params["applicantname"] != null) && Request.Params["applicantname"].Contains("%26")) { applicantname = Request.Params["applicantname"].Replace("%26", "&"); } else { applicantname = Request.Params["applicantname"]; } applicantemail = Request.Params["applicantemail"]; applicantpnumber = Request.Params["applicantpnumber"]; agentname = Request.Params["agentname"]; agentemail = Request.Params["agentemail"]; agentpnumber = Request.Params["agentpnumber"]; if ((Request.Params["product_title"] != null) && Request.Params["product_title"].Contains("%26")) { product_title = Request.Params["product_title"].Replace("%26", "&"); title.Value = product_title; } else { product_title = Request.Params["product_title"]; title.Value = product_title; } item_code = Request.Params["item_code"]; if ((((((transID != "") && (amt != "")) && ((agt != "") && (xgt != ""))) && (((applicantname != "") && (applicantemail != "")) && ((applicantpnumber != "") && (agentname != "")))) && (((agentemail != "") && (agentpnumber != "")) && (product_title != ""))) && (item_code != "")) { if (Session["xapplication"] != null) { xapplication = Session["xapplication"].ToString(); if (xapplication != transID) { } } else { Session["xapplication"] = transID; } Session["transID"] = transID; Session["amt"] = amt; Session["agt"] = agt; Session["xgt"] = xgt; Session["applicantname"] = applicantname; Session["applicantemail"] = applicantemail; Session["applicantpnumber"] = applicantpnumber; Session["agentname"] = agentname; Session["agentemail"] = agentemail; Session["agentpnumber"] = agentpnumber; Session["product_title"] = product_title; Session["item_code"] = item_code; Session["hwalletID"] = hwalletID; Session["fee_detailsID"] = fee_detailsID; Session["serverpath"] = serverpath; serverpath = serverpath.Replace('\\', '/'); payment_date2.Value = payment_date; transID2.Value = transID; xname.Value = applicantname; xemail.Value = applicantemail; xmobile.Value = applicantpnumber; agt_code.Value = agt; agt_name.Value = agentname; agt_email.Value = agentemail; agt_mobile.Value = agentpnumber; // title.Value = product_title; item_code2.Value = item_code; amt2.Value = amt; serverpath2.Value = serverpath; log_staffID2.Value = "0"; hwalletID2.Value = Session["hwalletID"].ToString(); // hwalletID2.Value = "0"; if (t.getRenStageIDByvalidationID(transID.Trim()) > 0) { Response.Redirect("./xreturn_ren.aspx"); } } else if (Convert.ToInt32(hwalletID) > 0) { Response.Redirect("http://ipo.cldng.com/A/profile.aspx"); } else { Response.Redirect("http://www.iponigeria.com/userarea/dashboard"); } } }