I have an application in MVC 5 that uses a component to validate the session but it is generating this error.
XMLHttpRequest can not load link . No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' link ' is therefore not allowed access.
It is because you are trying to request a different domain address. How can I enable it so that it does not continue sending me this message?
PS: the message is sent by the browser and it does not allow me to make ajax requests to the controller.