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

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -