The "Back" browser button (or any other browser button) cannot be actually disabled by a web application as the security context will not allow this.
What we can do is to somehow make sure that browser does not cache the web pages (which will cause the"Back" "Forward" buttons to grey out), and this can be easily done by
expiring the Response. The code for this in ASP.NET 2.0:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1));
Response.Cache.SetNoStore();