httponly « Tomcat « JSF Q&A





1. how to setup HttpOnly flag in JSF 2.0 app on Tomcat 6    stackoverflow.com

I have found this solution on Sof link but i had to change it from two causes:

  1. there is no .getFacesContext() function
  2. i don't have a specific cookie file (see line ourcookiename=yourcookievalue)

my code looks like this:
FacesContext ...