我使用Fetch api发出了从网站'demo.home.com‘到'demo.company.com’的跨域HTTP请求,并将凭据设置为'include‘。有两块饼干。因此,cookie 'cookie_company‘被包含在请求中。有没有办法让cookie 'cookie_home‘包含在请求中?// the request is made in the website 'http:/
我使用的是前几篇文章中的代码,但“会话”似乎不会跨请求持久存在。也许这与cookies在一个域中设置并试图访问另一个域中的页面有关?不确定。client.BaseAddress = "https://secure.dotmed.com/";
// Do a simple GET on the Login page first (It sets coo