Catching 302 FOUND in JavaScript
The accepted answer does not work for the reasons given. I posted a comment with a link to a question that described a hack to get round the problem of the 302 being transparently handled by the browser: How to manage a redirect request after a jQuery Ajax call However, it is a bit of … Read more