从.NET Framework中的Cookie读取值4.8 API
我想从Angular应用程序中阅读cookie,该应用以这种方式设置为Angular this.cookieservice.set('keepMeloggedIn',string(this.checkboxvalue));
在.NET框架4.8 API中。我尝试了多个选项以这种方式读取值request.cookies [“ keepmeloggedin”]
或喜欢它在,但它仍然始终返回null。
我已经在 devtools ,然后在尝试读取值并设置为设置之前设置了cookie。
cookie集是否错误/需要以不同的方式发送,或者我应该如何阅读API中的值?
I want to read Cookies from my Angular Application which is set in this way in Angularthis.cookieService.set('KeepMeLoggedIn', String(this.checkBoxValue));
in .NET Framework 4.8 API. I tried multiple options to read value like this wayRequest.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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论