Difference between redirecting to a page and coming to the same page after pressing back button
- by Mac
Actually i have a page in which i am not using cache by using this code
HttpContext.Current.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
HttpContext.Current.Response.Cache.SetValidUntilExpires(false);
HttpContext.Current.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Cache.SetNoStore();
now i want to know is there any difference between coming to this page using a proper link or coming back using browser back button or is there any way to detect this.