Posted By:
Amber_Christensen
Posted On:
Thursday, June 30, 2005 01:34 PM
I have a web application (Java) that points to a specfic domain (i.e. http://domain/abc). To support failover, my application updates the DNS entry when the application is started on a new machine. The clients is notified that the DNS entry has been updated via a Javascript alert. Then I attemtp to force a refresh of the page but I always get a Page cannot be Displayed Error. When I ping the domain, I am still looking at the old entry. I have found that I have to do an ipconfig /flushdns before I see the new entry. How can I do this in my application??? I cannot open a new browser window. I need a way to force the browser to recognize the new DNS entry and reload the page.
More>>
I have a web application (Java) that points to a specfic domain (i.e. http://domain/abc).
To support failover, my application updates the DNS entry when the application is started on a new machine.
The clients is notified that the DNS entry has been updated via a Javascript alert.
Then I attemtp to force a refresh of the page but I always get a Page cannot be Displayed Error.
When I ping the domain, I am still looking at the old entry. I have found that I have to do an ipconfig /flushdns before I see the new entry.
How can I do this in my application???
I cannot open a new browser window. I need a way to force the browser to recognize the new DNS entry and reload the page.
<<Less