Forum Moderators: open
We are not able to execute all the scripts on the page and then redirect. The 301 redirect happens before the script executes.
Is there a better way to do this?
... the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).
most browsers seeing a 301 header would never render any content and instead would request the new "Location".