There are several types of cookies:
- Session Cookies: will be deleted when the user closes the browser.
- Persistent Cookies: they expire on a specific date or after a certain period of time.
- Http-Only Cookies: not available for client APIs such as the JavaScript Document.cookie API.
- Secure Cookies: can only be transmitted over HTTPS.
- Same-Site Cookies: the browser will only send cookies of the same site to the same site on which they are set.
Read more about cookies.