protected override void Page_Load(object sender, EventArgs e) { string redirectPage = string.Empty; if (NavigationControl.CheckOrderFlow(Session["OrderStatus"], Request.RawUrl, out redirectPage)) { Response.Redirect(redirectPage); } if (!IsPostBack) { NavigationControl.DisableClientPageCache(); } if (!Page.IsPostBack) { SitePreference sitePrefCache = CSFactory.GetCacheSitePref(); if (!sitePrefCache.GeoLocationService) { string GeoCoountry = ""; GeoCoountry = CommonHelper.GetGeoTargetLocation(CommonHelper.IpAddress(HttpContext.Current)); } } base.Page_Load(sender, e); }
public void Application_BeginRequest(object sender, EventArgs e) { //string uri = Request.Url.AbsolutePath.Replace(".aspx", ""); //if (!Request.Url.AbsolutePath.Contains("400.aspx") && Request.Url.AbsolutePath.Contains(".aspx")) // Response.Redirect(uri, true); NavigationControl.DisableClientPageCache(); }
protected override void Page_Load(object sender, EventArgs e) { string redirectPage = string.Empty; if (NavigationControl.CheckOrderFlow(Session["OrderStatus"], Request.RawUrl, out redirectPage)) { Response.Redirect(redirectPage); } if (!IsPostBack) { NavigationControl.DisableClientPageCache(); } base.Page_Load(sender, e); }