Pass cookies to another host

时间:2019-01-18 19:02:48

标签: iis cookies

I have .net core API and angular website. On front-end, I set a cookie that I want to pass to API. I enabled cors and withCredentials flag and when I test the solutions on localhost it works like a charm. Problems start after deploying API and angular on iis on separate machines because cookies are empty. Is there anything to do? I read that cookies are bind to a domain.

0 个答案:

没有答案