Can't Set Cookie On Different Domain
This URL has the code below: https://trywifibooster.com/test/setCookiesFromAnotherDomain.html?param=SHOULD-SET-TO-THIS var params = new window.URLSearchParams(window.location.sea
Solution 1:
XHR doesn't send or accept cookies unless you explicitly enable credential support:
$.ajax({type:'GET',xhrFields: {
withCredentials:true
}
Note that this will make your request preflighted.
Post a Comment for "Can't Set Cookie On Different Domain"