cors jquery withCredentials cookie -


client:

$.support.cors = true;  // ajax option beforesend: function (xhr) {   xhr.withcredentials = true;   xhr.setrequestheader("authorization", "bearer " + base.accesstoken); } 

i use "fiddler" , catch request, shows no cookie included.

authn server has set cookie.

actually, preflight requests won't sent cookie, it's used check wteather server api support cors. maybe can close authentication of server options methods


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -