Ajax Get Request works fine when requested in browser, but gets 302 in iframe. What could be the reason for this?
Posted
by
Vlad Nicula
on Stack Overflow
See other posts from Stack Overflow
or by Vlad Nicula
Published on 2012-10-11T09:34:22Z
Indexed on
2012/10/11
9:36 UTC
Read the original article
Hit count: 466
I am working on a web app that makes several ajax requests at startup. The applications works fine when run individually.
When running it into a iframe, one of the ajax requests returns a 302 Found HTTP status. I'm sure I'm hitting the same url with both the browser and the iframe.
The application that creates the frame is on a different domain and port.
What could be causing this? Out of 5 get requests to the same server, only one (the third) gets a 302.
© Stack Overflow or respective owner