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
You can also add true to boost the security.
true
true true