I have an API action that returns a HttpResponseMessage. API address is like: http://localhost/login?authcode=xxx
The API action does some login authentication and r
My cookies have added Path, but the problem still not resolve.
Path
After a long time, I finally resolve this problem by remove session state config in web.config:
web.config
I can add set-cookie header after comments .
set-cookie
I hope this helps you, thanks.