Problem
I have some pages that is opened by window.showModalDialog(). But why is it not refreshed?
- For example, when there is a compile error in the page, it will show it when opening it. This is correct. But after I correct the error, it will still show the same error. I have to terminate ASP.NET worker process by issuing "iisreset" command. Then it will show the corrected page.
- Or when some data is changed. When I open that page, it will still show the old data. Like it is using the browser's local cache. After I clear the brower's cache, then it will show the updated data.
Solution
In IE7, go to Tools | Internet Options. Click the Browsing History "Settings" button. Check for newer versions of stored pages: and select "Everytime I visit the page"