请求使用AngularJS P3P WithCredentials在IE11中发送cookie

时间:2016-04-14 10:08:16

标签: angularjs cookies internet-explorer-11 httpresponse p3p

我在Tomcat和AngularJS前端编写了一个带有Java后端的Web应用程序,并且在Chrome,Firefox等中都可以正常工作,但不是IE 11。

问题是初始登录正在返回" Set-Cookie"但cookie不包含在后续请求中(在Angular 2中使用$ http)。

  • 我正在运行本地tomcat服务器(因此没有时钟/时差问题)
  • 登录返回" Set-Cookie"和一个P3P标题
  • 设置Angular http服务" withCredentials = true"默认
  • 域名
  • 中没有下划线

登录电话: -

Initial "login" call

后续API调用: -

enter image description here

任何想法,我错过了什么!?!?

0 个答案:

没有答案
相关问题