I am writing a page for IE that allows the owner to change settings for a custom script written for his web site. Through FSO, everytime the settings changes, the included JavaScript file gets re-written. However, when the script writes the JavaScript file, and the settings/information have changed, then the next time the settings window shows, the new values should be shown in there, but isn't. It still shows the old values, untill the page refreshes.

Problem is, the settings window appears in a Modal Web Page Dialog box, supported as of IE4, and one can not refresh this box, unless you access the settings page noramlly, refresh, then launch the modal dialog box again.

How can I have my ASP script refresh the content before the dialog box appears?

Any ideas would be much appreciated.