Language / Technology

Why do cookies have an expiry time?

Short answer

An expiry controls how long settings or session information is kept and prevents unnecessary data from lasting indefinitely.

How it works

Some cookies disappear at the end of a session while others remain until a date. Their purpose and scope depend on the site.

Key point

The practical point is this: Their purpose and scope depend on the site.

References