hi there. i have an asp page that is using the winhttprequest object to get the contents of an "external" website (just a page from another department here.. but a different server).
Then i modify the html i get to suit my needs.. save it to a file, and then finally, i display this stuff in an IFRAME.
(i wrapped a div tag around the iframe so technically, i'm doing something like: "divtabframe.innerHTML = '<IFRAME
SRC='myserver/somepage.html'></IFRAME>)
My problem is that when i refresh the main page, i want the iframe to also display the latest data. It does get the latest data from the external site and its saved in "somepage.html". But the iframe isn't updated unless i explicitly right-click inside the frame and manually select refresh.
I have added a <meta http-equiv="refresh" content="30"> line to make it auto refresh on it's own.
But the users find it annoying that the page refreshes while they're working on it. They prefer to have their own button that will refresh both the main page that gets the data, and the iframe to read the new file.
does anyone have any suggestions?
Then i modify the html i get to suit my needs.. save it to a file, and then finally, i display this stuff in an IFRAME.
(i wrapped a div tag around the iframe so technically, i'm doing something like: "divtabframe.innerHTML = '<IFRAME
SRC='myserver/somepage.html'></IFRAME>)
My problem is that when i refresh the main page, i want the iframe to also display the latest data. It does get the latest data from the external site and its saved in "somepage.html". But the iframe isn't updated unless i explicitly right-click inside the frame and manually select refresh.
I have added a <meta http-equiv="refresh" content="30"> line to make it auto refresh on it's own.
But the users find it annoying that the page refreshes while they're working on it. They prefer to have their own button that will refresh both the main page that gets the data, and the iframe to read the new file.
does anyone have any suggestions?