Tutorial :XmlHTTPRequest and 301 redirects


Do any browsers follow cross-domain 301 redirects when processing XmlHTTPRequests (or any other method a page can get the contents of another)


No. You can't use a 301 to work around the same origin policy.


You need to setup a cross-domain proxy, and one should exist for your web application platform. These are commonly used by social networks to bypass the same-origin policy.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »