DO NOT REPLY [Bug 45632] New: HttpOnly Cookie support in 6.0.18

admin 2014年10月29日19:08:24系统文档评论2,115 次浏览阅读模式

https://issues.apache.org/bugzilla/show_bug.cgi?id=45632

Summary: HttpOnly Cookie support in 6.0.18
Product: Tomcat 6
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Servlet & JSP API
AssignedTo: [email protected]
ReportedBy: [email protected]


We are seeing a different behavior in the cookie support between Tomcat version
6.0.14 and 6.0.18. The following code worked in 6.0.14 but not in 6.0.18.

Is there an explanation or is there a work around?

String sessionId = "Our Session ID";
String cookieValue = sessionId + "; Path=/; HttpOnly ";
Cookie cookie = new Cookie("sessionId", cookieValue);
cookie.setVersion(1);
response.addCookie(cookie);


Thanks,
Kal

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2014年10月29日19:08:24
  • 转载请务必保留本文链接:http://anyun.org/a/jishuguanzhu/xitongwendang/2014/1029/3482.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: