Persistent cookies are used by websites to remember the user’s preferences, settings and other data, such as bookmarks or login details. Persistent cookies are stored permanently on the hard drive of a user’s computer and remain saved even after a session expires or the web browser is closed. However, persistent cookies still have expiration dates of one to two years, after which the data is removed.