【问题标题】:How to set cookie in ASP.NET Web Api automatically in the cookie storage of browser?How to set cookie in ASP.NET Web Api automatically in the cookie storage of browser?
【发布时间】:2022-12-02 04:55:50
【问题描述】:

I am using an asp.net web api as a server and trying to set a JWT in the cookie storage of the browser. The request is sent from angular application. You can see the server code and req/res headers in the attached screenshot here. The cookie is set in the response header but it's not set automatically in the cookie storage.

【问题讨论】:

    标签: asp.net angular authentication


    【解决方案1】:

    I just came across the same issue and it would be really helpful if you could tell me steps you took to resolve this one ? thanks.

    【讨论】:

      猜你喜欢
      • 2022-12-01
      • 2022-12-02
      • 2022-12-28
      • 2022-12-01
      • 2022-12-19
      • 2022-12-16
      • 2022-12-26
      • 2022-12-27
      • 2022-12-27
      相关资源
      最近更新 更多