Wednesday, 14 April 2010

What Is a Persistent Cookie?

A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer. By default, cookies are created as temporary cookies which stored only in the browser's memory. When the browser is closed, temporary cookies will be erased. You should decide when to use temporary cookies and when to use persistent cookies based on their differences:
  1. Temporary cookies can not be used for tracking long-term information.
  2. Persistent cookies can be used for tracking long-term information.
  3. Temporary cookies are safer because no programs other than the browser can access them.
  4. Persistent cookies are less secure because users can open cookie files see the cookie values.

No comments:

Post a Comment