HttpOnly for request cookies
-
22-12-2019 - |
Solution
Not possible.
Cookies are set in a HTTP response, and are read from a HTTP request. You can only set flags when cookies are created, so they can only be set in the response when using HTTP so it would not make sense to set HttpOnly on a request cookie.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow