如果cookie中设置了HttpOnly属性,那么,这样能有效的防止XSS攻击,窃取cookie内容, ... addHeader("Set-Cookie", "uid=112; Path=/; HttpOnly").
確定! 回上一頁