Setting cookies with the HttpOnly attribute
To set cookies with HttpOnly attribute:
- Locate Web.config from [IIS install drive]\wwwroot.
- Add the
<httpCookies httpOnlyCookies="true" />tag within<configuration><system.web>.
To set cookies with HttpOnly attribute:
<httpCookies httpOnlyCookies="true" /> tag within <configuration><system.web>.