Get HTTP-only cookie from Windows 8 JS App

后端 未结 1 803
你的背包
你的背包 2021-01-23 09:24

I am making a Javascript Windows 8 app in which the user connects to my server and logs in. Currently, I am trying to use the XmlHttpRequest Object to do so (specifically, WinJS

1条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-23 10:07

    As it turns out, Windows 8 apps are already able to get HTTP-only cookies with the XMLHttpRequest from the response's header. However, the system handles the cookies automatically in the same way iOS does. This seems very logical, since the coder should not be responsible for cookie handling, the underlying framework does that.

    0 讨论(0)
提交回复
热议问题