My ViewState implementation causes “Confirm Form Resubmission” dialog to appear each time I press ‘back’ button, but when I create test site using microsoft’s aspx their viewstate isn’t causing such problems…
What should I know to prevent my browser from showing “Confirm Form Resubmission”?
EDIT
I’ve found an interesting resource here, the problem described in terms of browser caching, if the page is cached than it won’t make a post at all, now it is interesting how to make my page cachable by default..
In case someone is interested, the problem is solved when setting the following page heder:
“Cache-Control: max-age=3600, must-revalidate” it simply caches the page on the client. And this prevents the browser from displaying “Confirm Form Resubmition”
Here is good info about caching the pages on the client side.