How to Send Asp.Net Session Cookie from Angular in Request to get session value in Asp.net Core Web API
Loading
How to Send Asp.Net Session Cookie from Angular in Request to get session value in Asp.net Core Web API
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tuhin PaulPosted Feb 4, 2024, 5:53 PM
While it's technically possible to send an ASP.Net session cookie from Angular to an ASP.Net Core Web API, it's strongly discouraged due to security concerns and limitations.
Limitations:
Recommended Alternatives:
Instead of relying on ASP.Net session cookies, consider these more secure and recommended approaches:
Tahir AnsariPosted Jul 25, 2023, 11:07 AM
Please try below example