There are two types of cookies:  The first type is the session cookie, which is temporary and only lasts for the duration of the user's visit to the website.  The second type is the persistent cookie, which is stored on the user's computer for a longer period of time.