Ajax Get Request works fine when requested in browser, but gets 302 in iframe. What could be the reason for this?
- by Vlad Nicula
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.