javascript - Why does No 'Access-Control-Allow-Origin' browser error have a status code? -


xmlhttprequest cannot load <website>. no 'access-control-allow-origin' header present on requested resource. origin '<otherwebsite>' therefore not allowed access. response had http status code 401.

what i'm curious last line @ end. there's point in php code can change status code , changes number in output. if browser blocking request, how possible server side application code change happening being executed?


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -