Click
Click Examples

Ajax Redirect Page

Redirect Link

Clicking the link above will send an Ajax request to the server which returns a url to redirect to. The url is returned from the server in a custom response header called 'REDIRECT_URL'.

Since Ajax does not support redirects, JavaScript is used to simulate a redirect by setting the value of window.location to the redirect url.