Difference between redirecting to a page and coming to the same page after pressing back button
Posted
by
Mac
on Stack Overflow
See other posts from Stack Overflow
or by Mac
Published on 2010-12-24T05:42:25Z
Indexed on
2010/12/24
5:54 UTC
Read the original article
Hit count: 206
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.
© Stack Overflow or respective owner