1 year ago
#386351
elmazurro
Read Value from Cookies in .NET Framework 4.8 API
I want to read Cookies from my Angular Application which is set in this way in Angular
this.cookieService.set('KeepMeLoggedIn', String(this.checkBoxValue));
in .NET Framework 4.8 API. I tried multiple options to read value like this way Request.Cookies["KeepMeLoggedIn"]
or like it is described in documentation here but it still always return null.
I've checked In DevTools and the cookie is set before trying to read value and it's set.
Was the cookie set wrong/needs to be sent in a diffrent way or how should I read the value in API?
c#
.net
angular
cookies
0 Answers
Your Answer