Your selected question
Are there different types of cookie?
Yes, there are five different types:
A session cookie lasts only for the duration of the user’s website visit. A web browser normally deletes session cookies when it quits.
A persistent cookie will outlast user sessions. If a persistent cookie has its maximum age set to 1 year, then, within the year, the initial value set in that cookie would be sent back to the server every time the user visited the server. This could be used to record a piece of information such as how the user initially came to this website. For this reason persistent cookies are also called tracking cookies.
A secure cookie is only used when a browser is visiting a server via HTTPS, ensuring that the cookie is always encrypted when transmitting from client to server.
First-party cookies are cookies set with the same domain (or its subdomain) in the browser's address bar.
Third-party cookies are cookies set with different domains from the one shown on the address bar (i.e. the web pages on that domain may feature content from a third-party domain - e.g. Google Maps or YouTube). Privacy setting options in most modern browsers allow you to block third-party tracking cookies.