I have an Apache server that hosts a Wordpress webpage. I modified my mod_headers
to set the Secure
and HttpOnly
flag to all the cookies.
My configuration is as follows:
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode=block"
Header always append X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff
Header set Referrer-Policy "no-referrer-when-downgrade"
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
</IfModule>
For some reason the incap_ses
cookie only appears with the Secure flag, and the visid_incap
have both Secure
and HttpOnly
flags.
Is there a reason why that specific cookie (incap_ses
) doesn't appear with the HttpOnly
flag too?