asp.net mvc - MVC website CORS -


I have a button on a watch page, which does a postback that clicks the button. Do I have to implement CORS for this scenario? Does it come under a single basic policy?

My JS file contains the code

  $ ('# submitBtn'). Click (function () {form.action = '/ go / signin'; form.submit ();}});    

If it's in the same domain, you do not need to handle the corse is; The call only happens when you are requesting outside your domain for excellent viewing or see.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

java - Session timeout does't work vaadin -