Types of cookies

Q.  What are the types of cookies?
- Published on 16 Jun 15

a. Session cookies
b. Persistent cookies.
c. Dummy cookies.
d. Option A and B are correct.

ANSWER: Option A and B are correct.
 
There are two types of cookies: session cookies and persistent cookies. A session cookie exists only in memory. If a user closes the web browser, the session cookie will be lost.

A persistent cookie, on the other hand, can remain for months or even years. When you create a persistent cookie, the cookie is stored permanently by the user’s browser on the user’s computer.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)