I wrote a Web Application that works the way it should on IE but has a little
bit of problems on Netscape Navigator. When using IE, clicking the back
button will cause the browser to redisplay the current page not allowing my
database to get corrupted by doing the following.
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Always Response.Redirect(myself) on any event.
In Page_Load() check it the current is the PostBack page and if not,
Response.Redirect(current page).
By doing the above, IE works perfectly and backups never occur.
However, it appears that Netscape Navigator does not purge the browsers
cache so I don't get a PostBack to the page that I backed up to allow me to
redirect it back to the current page. This doesn't cause any database
corruption problems because as soon as someone enters data in the backed up
page and issue a post, the backup page will receive the post and realize that
someone is operating on the wrong page and will redirect back to the current
page restoring the application to the correct state. However it's messy if
someone uses the back button when using Netscape Navigator.
I've tried every possible fix that I could find on the Internet including
Meta tags and javascript but Netscape Navigator will not issue me a postback
when the back button is clicked. Firefox also does the same thing.
Anyone know how to disable cache in the Netscape Navigator?