Dave Merrill
07/11/2022, 7:17 PMfoundeo
httpOnly
and secure
are flags on the actual cookies which are part of the Set-Cookie
http response header. So you can check by going into the network tab and looking at the actual HTTP response headersfoundeo
secure
flag on the cookie means that the browser will only send it over a “secure” / https connection, so if you request the same domain over plain http, it would not send the secure cookiesfoundeo
httpOnly
means that the cookie is marked as not accessible to non-http apis (primarily javascript) - you want this for your session cookies to help prevent session hijackingDave Merrill
07/11/2022, 9:02 PMfoundeo
foundeo
foundeo
Dave Merrill
07/11/2022, 9:11 PMfoundeo
Dave Merrill
07/12/2022, 2:20 PM