When cookies are created, they are usually created with an expiry time too.

The expiry portion of a cookie requires the name-value pair of Expires and a date.

Right on! By adding an expiry time, cookies become invalid when the expiry time has passed.

The name-value pair for the expiry portion of a cookie requires the word Expires followed by a date.