HTTP cookie: Difference between revisions

Content deleted Content added
Line 196:
==== Secure and HttpOnly ====
 
Secure and HttpOnly attributes do not have value field. The existence of the flagattribute tells the browser whether the cookie is secure or httponly.
 
A Secure attribute tells the browser to only use this cookie via [[Https|secure/encrypted]] connections, obviously, web servers should also set this cookie via [[Https|secure channels]], and therefore anyone eavesdropping your communication would not pick up the cookie.