Posted on: 11/19/2014 12:47:48 PM | Views : 518

Hi Members,
I have been searching in Google to disable the browser back button on one particular page. In my effort, whatever solution i obtained from the google search doesn't fulfill my requirement.
Following code snippets are the one which i have tried,
Code Behind: protected void Page_Init(object sender, EventArgs e) { 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(); Response.Cache.SetAllowResponseInBrowserHistory(false); }  Go to the complete details ...