响应头中的HTTP SET-Cookie未在broswer中设置

时间:2015-08-28 07:16:42

标签: http cookies express

我在下面的

的响应标题中设置了cookie
HTTP/1.1 200 OK
X-Powered-By    Express
Access-Control-Allow-Origin http://xx.xx.xx.xx:8080
Access-Control-Allow-Headers    X-Requested-With
Access-Control-Expose-Headers   Set-Cookie
Set-Cookie  name=tom; Path=/
Set-Cookie  _id=j%3A%2255dd7fcf5aef5fd13f6a2621%22; Max-Age=720; Domain=xx.xx.xx.xx; Path=/; Expires=Fri, 28 Aug 2015 07:13:12 GMT; HttpOnly
Set-Cookie  token=cd279529eb6868ba0cca2aed24690bf6; Max-Age=720; Domain=xx.xx.xx.xx; Path=/; Expires=Fri, 28 Aug 2015 07:13:12 GMT; HttpOnly
Content-Type    application/json; charset=utf-8

但我看不到cookie存储在我的浏览器中

0 个答案:

没有答案