3 ms·
If you need state you typically use JS + XHR and can set your own headers. Cookies are just header values with some predefined behaviour wrapped around them.
by sandstrom 11y ago
If you need state you typically use JS + XHR and can set your own headers. Cookies are just header values with some predefined behaviour wrapped around them.
- manigandham 11y agoSure, which again means it's on a web application level rather than working at the HTTP level. There are lots of uses for cookies without having JS or a full browser available.