What is persistent cookie?

Persistent Cookie :
  • Also called a permanent cookie, or a stored cookie, a cookie that is stored on a user's hard drive until it expires (persistent cookies are set with expiration dates) or until the user deletes the cookie. 
  • Persistent cookies are used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site.
  • A persistent cookie enables a website to remember you on subsequent visits, speeding up or enhancing your experience of services or functions offered.
  • For example, a website may offer its contents in different languages. On my first visit, I may choose to have the content delivered in French and the site may record that preference in a persistent cookie set on your browser. When you revisit that site it will use the cookie to ensure that the content is delivered in French.
Session Cookie :
  • Also called a transient cookie, a cookie that is erased when the user closes the Web browser. The session cookie is stored in temporary memory and is not retained after the browser is closed. Session cookies do not collect information from the user's computer. 
  • They typically will store information in the form of a session identification that does not personally identify the user.

Comments

Popular posts from this blog

What is composite key?

What are the different data types in Python?

What is __repr__ function?