response.setHeader("Set-Cookie", SESSION_ID+"="+session_id+";Path=/;HttpOnly;"+
EMAIL+"="+user.getUsername()+";Path=/;expires="+expire.toString()+";HttpOnly;"+
TOKEN+"="+user.getPwdText()+";Path=/;expires="+expire.toString()+";HttpOnly");
JAVA HttpOnly
最新推荐文章于 2025-03-21 23:51:28 发布