0 Replies Latest reply on Oct 16, 2012 5:54 AM by evebill8

    How to set httponly cookies in J2EE 5

      Hi folks,

      I ma using Tomcat 6 which implements Servlet API 2.5 (part of the J2EE 5). I know I could set the usehttponly="true" in the context.xml to turn on all cookies to httponly. However, if I only need to set certain cookies to be httponly, how to do it in J2EE 5? I do not find Cookie.setHttponly() method in J2EE 5.

      Thanks in advance!