Solution:Persistent cookies are stored on a user's device to help remember information settings, preferences, or sign on credentials that a user has previously saved persistent cookies track visitors as they move around the website to figure out what people like about the website to help improve the user experience. The most popular persistent cookie is a Google Analytics Cookie.
Session cookies is also called, Non-persistent cookies or temporary cookies are storied in memory and never written to the disk. Session cookies remain active as long as the browser remains active-once the browser is closed, the cookies vanish.