I have a generic error page, that any handled error will redirect to. I have an admin page that when the user invokes an error, and the user is brought to the error page, hitting the back button from the error page cause the admin page to load improperly.
So what I need, is a way to reload the admin page when I come from the error page. I have tried setting no cache and such on the admin page, and checking for a postback, but nothing works. Setting no cache seems to do nothing, and any javascript on the admin page’s document.ready function does not get called either. Is there any other ways to get this to happen?
EDIT:
I should also mention that I have noticed that a table is missing 2 cells I recently added. This makes me believe that there is a old state of the page being cached somewhere, although clearing the browser cache and restarting my server do not help at all.
Edit2:
Also, setting window.onload() gets nuked when I come back to the admin page
So it turns out this is just an IE9 issue. My onload method was just never getting called. Works fine in the other browsers.
The fix I had to make in order get this to work in IE9 as well was to append a query string to the page, so that when I come back to the page, IE9 will go back to the browser incise the query string has changed or needs to be re-evaluated.
Thanks to both of you guys, or help helped me find the issue.