[Bug11458] Managing redirects

Bug 11458<https://www.w3.org/Bugs/Public/show_bug.cgi?id=11458>, suggests creating a mechanism to redirect the browser to an alternate URL when the user refreshes the page.

This feature would appear to solve the problem we often see where the browser prompts the user with a "do you want to re-send your information to this page" (because the page may have been a form post result page) by instructing the browser to navigate to another URL instead of refreshing the page.

In the discussion in the bug, it is suggested that history.pushState is a solution to this problem. I haven't thought too deeply about this, but it seems like the History API could be use used to programmatically redirect the page on a "popstate" event.

Does anyone disagree? Am I understanding the proposed solution and/or problem correctly?

Received on Friday, 1 February 2013 00:05:26 UTC