1.

What are the advantages and disadvantages of cookies?

Answer»

Advantages:

  • Cookies are simple to use and implement.
  • Occupies less memory, do not require any server resources and are stored on the user's computer so no extra BURDEN on the server.
  • We can configure cookies to expire when the browser session ends (session cookies) or they can exist for a specified LENGTH of time on the client’s computer (persistent cookies).
  • Cookies persist a MUCH longer period of time than Session state.

Disadvantages:

  • Cookies are MAINTAINED at the client system, so they are not secure
  • A limited number of cookies are allowed for the website (Max 50)
  • A limited amount of data can be maintained (Max 4kb)
  • Only plain text can be maintained


Discussion

No Comment Found