JAVA HttpOnly

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)