protected void Page_Load(object sender, EventArgs e) { if (Request.UrlReferrer.OriginalString.Contains("https://www.paypal.com/")) { if ((Request.QueryString["id"] == null || null == Request.QueryString["id"] || Request.QueryString["id"] == "")) { Response.Redirect("Default.aspx"); } else { //code for execution } } else { Response.Redirect("Default.aspx"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)