Set-Cookie in HTTP header is ignored with AngularJS

后端 未结 6 1528
旧时难觅i
旧时难觅i 2020-12-02 11:50

I\'m working on an application based on AngularJS on client side and Java for my API (Tomcat + Jersey for WS) on server side.

Some path of my API are restricted, if

6条回答
  •  甜味超标
    2020-12-02 12:28

    The addition HttpOnly means that the browser should not let plugins and JavaScript see the cookie. This is a recent convention for securer browsing. Should be used for J_SESSIONID but maybe not here.

提交回复
热议问题