I've written this rule to add httpOnly flag to each cookie but the result was that.
What's wrong with the rule? Header edit Set-Cookie ^(.*)$ "$1;HttpOnly;Secure"
[EDIT] I've tried to do this treatment at backend, but it's using servlet 2.4 and jboss4. But the mininum required is servlet 3.0