By default, Glassfish v3 doesn\'t set the httpOnly flag on session cookies (when created as usual with request.getSession()).
request.getSession()
I know, there is a method
This is supported via a Servlet 3.0 web.xml (see web-common_3_0.xsd):
web.xml
true