R
Ronald Green
Hi all,
I'm trying to write a js function that uses XMLHttpRequest against a
web application.
Sometimes I get a 302, and the XMLHttpRequest automatically
redirects.
What I want to accomplish is either:
1. Don't let it redirect but figure out that it wanted to, and get the
'location' response header.
2. Let it redirect, but know the URL I was redirected to.
The javascript will be running on Internet Explorer 6 if it matters.
Thanks in advance,
R. Green
I'm trying to write a js function that uses XMLHttpRequest against a
web application.
Sometimes I get a 302, and the XMLHttpRequest automatically
redirects.
What I want to accomplish is either:
1. Don't let it redirect but figure out that it wanted to, and get the
'location' response header.
2. Let it redirect, but know the URL I was redirected to.
The javascript will be running on Internet Explorer 6 if it matters.
Thanks in advance,
R. Green